text-to-image
Flux Dev - Create image from text
Convert descriptive text input into images using AI. This endpoint accepts a variety of parameters to customize the generated images.
post/v1/ai/text-to-image/flux-dev
Request
- Base URL: https://api.magnific.com
- URL: https://api.magnific.com/v1/ai/text-to-image/flux-dev
- Auth: API key in header x-magnific-api-key
Request body
Example request
{
"webhook_url": "https://www.example.com/webhook",
"aspect_ratio": "square_1_1",
"styling": {
"colors": [
{
"color": "#FF0000",
"weight": 0.5
}
]
}
}Response
OK - Get the status of the flux-dev task
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.