text-to-image
Create image from text - Z-Image
Generate high-quality images from text descriptions using the Z-Image turbo model.
Key Features:
- Superior speed with turbo architecture
- High-quality image generation
- Flexible image size configuration
- Supports LoRA and ControlNet variants
Best for:
- Fast prototyping and iteration
- High-volume image generation
- Cost-effective production workloads
post/v1/ai/text-to-image/z-image
Request
- Base URL: https://api.magnific.com
- URL: https://api.magnific.com/v1/ai/text-to-image/z-image
- Auth: API key in header x-magnific-api-key
Request body
Example request
{
"prompt": "A suited raccoon smoking a cigar",
"webhook_url": "https://www.example.com/webhook",
"image_size": "square_hd",
"num_inference_steps": 8,
"seed": 42,
"output_format": "png"
}Response
OK - The request has succeeded and the Z-Image process has started.
Example response
{
"data": {
"generated": [
"https://openapi-generator.tech",
"https://openapi-generator.tech"
],
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "CREATED"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.