{"slug":"app-maginary-ai-api-gens-f93fc6","title":"Generate AI images or video from a text prompt with Midjourney-style --flags (--","host":"app.maginary.ai","method":"POST","resource":"https://app.maginary.ai/api/gens/","category":"image","description":"Generate AI images or video from a text prompt with Midjourney-style --flags (--ar 16:9, --v, --flagship, ...). Async: returns a generation record; poll GET /api/gens/{uuid}/ or set callback_url for a webhook. Pay-to-play: without credits you get a 402 priced for this prompt; settle the exact USDC o","price_listed":0.28,"price_asked":0.28,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":499,"reported_calls_30d":10,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"prompt":"a fox in autumn foliage --ar 16:9"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"callback_url":{"description":"Optional HTTPS webhook for DONE/FAILED.","format":"uri","type":"string"},"prompt":{"description":"Prompt text plus optional --flags (see /api/parameters/).","type":"string"},"recipe_uuid":{"description":"Optional recipe to run the prompt through.","type":"string"}},"required":["prompt"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.28,"price_match":true,"latency_ms":499,"error":null}],"description_full":"Generate AI images or video from a text prompt with Midjourney-style --flags (--ar 16:9, --v, --flagship, ...). Async: returns a generation record; poll GET /api/gens/{uuid}/ or set callback_url for a webhook. Pay-to-play: without credits you get a 402 priced for this prompt; settle the exact USDC on Base via x402 and retry. No account needed: first settlement creates the account; subsequent requests use wallet-signed headers (see 402 wallet_auth). Paying accepts https://maginary.ai/terms.","last_updated":"2026-09-07T18:08:11.014Z","schemes":["exact"]}