text-to-image
Flux 2 Pro - Create image from text
Create professional-grade images using FLUX.2 [pro], the next generation of Black Forest Labs' image models.
Key Features:
- Professional quality without complex tuning
- Text-to-image generation
- Image-to-image editing (up to 4 input images)
- Customizable dimensions (256-1440px)
- Optional prompt enhancement
- Reproducible results with seed
Use Cases:
- Marketing materials and advertisements
- Product photography variations
- Concept art and illustrations
- Image editing and enhancement
post/v1/ai/text-to-image/flux-2-pro
Request
- Base URL: https://api.magnific.com
- URL: https://api.magnific.com/v1/ai/text-to-image/flux-2-pro
- Auth: API key in header x-magnific-api-key
Request body
Example request
{
"prompt": "a beautiful sunset over the ocean with dramatic clouds",
"width": 1024,
"height": 768,
"seed": 42,
"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.