Authorizations
Your Freepik API key. Required for authentication. Learn how to obtain an API key
Body
Text to generate image from
Minimum length: 3 characters
3
"Crazy dog flying over the space"
Attributes to avoid in the generated image
Minimum length: 3 characters
3
"b&w, grayscale, disfigured, bad quality"
Defines the level of fidelity to the prompt when generating the image. A lower value allows for more creativity from the AI, while a higher value ensures closer adherence to the prompt.
Valid values range [0.0, 2.0]
, default 1.0
.
0 <= x <= 2
2
Specifies the number of images to generate in a single request.
Valid values range [1, 4]
, default 1
.
1 <= x <= 4
1
Seed value for image generation. Using the same seed will produce the same image. If omitted, random seed will be applied, resulting in a different image each time.
Valid values range [0, 1000000]
.
0 <= x <= 1000000
123
If true, the generated image will be filtered for NSFW content. If false, the image may contain NSFW content.
Default value is true
.
true
Response
OK - The request has succeeded, and the images generated from the text are returned.