Create high-quality images quickly using FLUX.2 [turbo], the speed-optimized version of Flux 2.
Key Features:
Use Cases:
Your Freepik API key. Required for authentication. Learn how to obtain an API key
Text description of the image you want to generate.
FLUX.2 [turbo] is optimized for speed while maintaining good quality. Perfect for rapid prototyping and testing.
Performance:
Tips:
Examples:
"mountain landscape at golden hour""portrait of a smiling person, natural lighting, soft focus""abstract geometric pattern with vibrant colors""a serene landscape with mountains and a lake at sunset"
Controls how closely the model follows your prompt.
Range: 1.0 to 20.0 Default: 2.5
Guidelines:
Recommendation: Start with default (2.5) and adjust if needed.
1 <= x <= 202.5
Random seed for reproducible results.
Valid range: 0 to 4,294,967,295 Default: Random (if not provided)
Tip: Save the seed from generations you like to create similar variations.
0 <= x <= 429496729512345
Custom image dimensions (alternative to using standard aspect ratios).
Valid range: 512 to 2048 pixels for both width and height Default: 1024×1024 if not specified
Note: Total resolution affects cost and generation time.
Enable content safety filtering.
When enabled: Filters potentially unsafe content (NSFW, violence, etc.) When disabled: No content filtering (use responsibly and in compliance with terms)
Recommendation: Keep enabled for production applications.
true
Output image format.
PNG:
JPEG:
jpeg, png "png"
Optional callback URL that will receive asynchronous notifications whenever the task changes status. The payload sent to this URL is the same as the corresponding GET endpoint response, but without the data field.
"https://www.example.com/webhook"
OK - Task created successfully
{
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "CREATED"
}