{"uid":"cap_gRF7M1bG85PjiyrHXyPr1","slug":"agentutility-pro-image-generation-68ec51c4","name":"AgentUtility Pro Image Generation","description":"Premium text-to-image API for repeatable product, campaign, and design assets when a standard draft needs a selected model tier. Send a prompt with optional dimensions, tier, and seed; receive a hosted PNG URL plus the resolved model, final canvas, prompt, seed, and timing. Keep the tier, dimensions, and seed fixed to rerun an approved asset. Tiers: 'balanced' (flux-2-pro, default), 'recraft' (recraft-v4), 'seedream' (seedream-v4), 'grok' (grok-imagine-image), and 'qwen' (qwen-image). Use it for Flux 2 Pro, Recraft, Seedream, Qwen Image, or Grok Imagine image generation.","url":"https://x402.agentutility.ai/image-generate-pro","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["prompt"],"properties":{"seed":{"type":"number","description":"Random seed. Optional."},"tier":{"enum":["balanced","recraft","seedream","grok","qwen"],"type":"string","description":"Model shorthand. balanced=flux-2-pro (default), recraft=recraft-v4, seedream=seedream-v4, grok=grok-imagine-image, qwen=qwen-image."},"model":{"type":"string","description":"Override the model. Allowed: flux-2-pro, qwen-image, qwen-image-2, recraft-v4, seedream-v4, seedream-v5-lite, grok-imagine-image, wan-2-7-text-to-image."},"steps":{"type":"number","description":"Diffusion steps. Optional; depends on model."},"width":{"type":"number","description":"Output width in pixels. Range [256, 1024]. Default 1024."},"height":{"type":"number","description":"Output height in pixels. Range [256, 1024]. Default 1024."},"prompt":{"type":"string","description":"Image description. Up to 3000 chars."},"cfg_scale":{"type":"number","description":"Classifier-free guidance scale. Optional."},"negative_prompt":{"type":"string","description":"Negative prompt. Optional."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"seed":{"type":"null"},"tier":{"type":"string"},"model":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"prompt":{"type":"string"},"source":{"type":"string"},"image_url":{"type":"string"},"elapsed_ms":{"type":"integer"},"venice_request_id":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"seed":null,"tier":"balanced","model":"flux-2-pro","width":1024,"height":1024,"prompt":"An ornate brass astrolabe on a velvet cushion, museum lighting, 4k product photography","source":"venice","image_url":"https://v3.fal.media/files/abc/xyz/image.png","elapsed_ms":12000,"venice_request_id":"ven_pro_4f8a2b..."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.06","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.06/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kXa-knwy9SCq6NLrNZTF8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.06","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates images from text prompts using premium AI models (Flux 2 Pro, Recraft v4, Seedream v4, Grok Imagine, Qwen Image) and returns a permanent fal-hosted PNG URL","exampleAgentPrompt":"Generate an image of a futuristic city skyline at sunset with neon reflections on rain-slicked streets — use the 'recraft' tier for the sharpest quality.","exampleUseCases":[{"title":"Marketing banner image creation","prompt":"Create an image of a sleek black coffee mug on a minimalist wooden desk with soft morning light for a product ad — use the balanced tier with Flux 2 Pro."},{"title":"Fantasy concept art generation","prompt":"Generate a dramatic fantasy landscape with a dragon soaring over a moonlit castle, painted in rich purples and golds — use the seedream tier."},{"title":"Social media post visual","prompt":"Make a vibrant image of a tropical beach at golden hour with palm trees and calm turquoise water for an Instagram post — use the grok tier."}],"resultDescription":"Returns a permanent fal-hosted PNG image URL that can be embedded, displayed, or downloaded. The URL is stable and publicly accessible without expiry.","failureModes":["Invalid or unsupported model tier string returns an error","Prompt too long or containing disallowed content may be rejected","Payment failure via x402/USDC results in 402 Payment Required response","Network timeout if upstream Venice/fal.ai model is slow or unavailable","Empty or missing prompt returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need access to multiple premium text-to-image models (Flux 2 Pro, Recraft v4, Seedream v4, Grok Imagine, Qwen Image) through a single x402 USDC-paid API at $0.06/call, especially when building autonomous agents that need programmatic image generation without managing separate API keys for each model provider.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:10:27.175Z","isFirstParty":false}