text-to-image
Flux 2 Flex - Create image from text
Create highly customizable images using FLUX.2 [flex] from Black Forest Labs, a flexible text-to-image model with an extended resolution range.
Key Features:
- Professional quality with fine-grained control
- Text-to-image generation
- Image-to-image editing (up to 4 input images)
- Wide resolution range (256-1920px) for large-format output
- Adjustable guidance and inference steps
- Selectable output format (JPEG or PNG)
- Reproducible results with seed
Use Cases:
- Large-format marketing materials and posters
- Product photography variations
- Concept art and illustrations
- Image editing and enhancement
post/v1/ai/text-to-image/flux-2-flex
Request
- Base URL: https://api.magnific.com
- URL: https://api.magnific.com/v1/ai/text-to-image/flux-2-flex
- 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.