Image Gen Request Parameters
The basic parameters of all AKI.IO image generator models are standardized across all models. The standard request parameters for image generation endpoints are in JSON format.
The call to an image generator is done with a HTTPS POST request to:
https://aki.io/api/call/{endpoint name}
For a overview of available image generator endpoints please read here.
Request Parameters
key:string
Your AKI.IO API key for authentication and authorization. Get your AKI.IO API key at https://aki.io/signup
prompt:string
The prompt that describes the image that should be generated. Depending on the model it can be very detailed and describing different parts of the image, objects, persons, background, lighting, colors, camera lense or style like painting, comic, photo realistic etc.
width:integer
Depending on the capabilities of the model but usually in the range of 128 to 2048 pixels.
height:integer
Depending on the capabilities of the model but usually in the range of 128 to 2048 pixels.
The aspect ratio of the image can have influence in the generated image like landscape and portrait images can trigger different styles as they are most commonly used for one or the other sort of images. Some models work best on a defined aspect ratio, please check the details of the used model.
seed:integer
The seed of the initial random image that is taken as starting point for generating the image.
The default setting -1 means that a random seed should be used of generating a “surprise” image. The used seed is returned in the output.
With the same seed, prompt and width and height the exact image can be recreated. Changing either height or width will give a different image, although the seed and prompt was not changed.