text-to-image
Create image from text - Nano Banana Pro Flash
Generate images from text descriptions using Google's Nano Banana Pro Flash model (Gemini 3.1 Flash), a faster variant of Nano Banana Pro optimized for quick image generation.
Key Features:
- Fast image generation with Gemini 3.1 Flash
- Google Search grounding for real-world accuracy
- Support for reference images for guided generation
- Multiple aspect ratios and resolutions up to 4K
Best for:
- Rapid image generation with shorter wait times
- Grounded image generation using Google Search
- Reference-guided generation
- Iterative creative workflows where speed matters
post/v1/ai/text-to-image/nano-banana-pro-flash
Request
- Base URL: https://api.magnific.com
- URL: https://api.magnific.com/v1/ai/text-to-image/nano-banana-pro-flash
- Auth: API key in header x-magnific-api-key
Request body
Example request
{
"prompt": "A suited raccoon smoking a pipe in a vintage study room",
"webhook_url": "https://www.example.com/webhook",
"reference_images": [
{
"image": "https://example.com/reference.jpg",
"text": "Reference style",
"mime_type": "image/jpeg"
}
],
"aspect_ratio": "1:1",
"resolution": "1K"
}Response
OK - The request has succeeded and the Nano Banana Pro Flash 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.