Convert descriptive text input into images using AI. This endpoint accepts a variety of parameters to customize the generated images.
Documentation Index
Fetch the complete documentation index at: https://docs.freepik.com/llms.txt
Use this file to discover all available pages before exploring further.
Your Freepik API key. Required for authentication. Learn how to obtain an API key
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 <= 22
Specifies the number of images to generate in a single request.
Valid values range [1, 4], default 1.
1 <= x <= 41
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 <= 1000000123
If true, the generated image will be filtered for NSFW content. If false, the image may contain NSFW content.
Default value is true.
true
OK - The request has succeeded, and the images generated from the text are returned.