text-to-image
Flux 2 Turbo - Create image from text
Create high-quality images quickly using FLUX.2 [turbo], the speed-optimized version of Flux 2.
Key Features:
- Fast generation (optimized for speed)
- Lower cost than Pro version
- Adjustable guidance scale for prompt adherence
- Custom image dimensions (512-2048px)
- Safety checker for content filtering
- Multiple output formats (PNG/JPEG)
Use Cases:
- Rapid prototyping and iteration
- Content exploration
- High-volume generation
- Testing prompts and concepts
post/v1/ai/text-to-image/flux-2-turbo
Request
- Base URL: https://api.magnific.com
- URL: https://api.magnific.com/v1/ai/text-to-image/flux-2-turbo
- Auth: API key in header x-magnific-api-key
Request body
Example request
{
"prompt": "a serene landscape with mountains and a lake at sunset",
"guidance_scale": 2.5,
"seed": 12345,
"image_size": {
"width": 1024,
"height": 1024
},
"enable_safety_checker": true,
"output_format": "png",
"webhook_url": "https://www.example.com/webhook"
}Response
OK - Task created successfully
Example response
{
"data": {
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "CREATED"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.