{"uid":"cap_uXJg4bMspqyDHk0auo6_i","slug":"api-kodo-fun-9f81e9f0","name":"Kodo AI Image & Video Generator","description":"Kodo - AI Creative Toolkit for images and videos","url":"https://api.kodo.fun/v1/generate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"id":{"type":"string"},"type":{"type":"string"},"params":{"type":"object","properties":{"positive":{"type":"string"}}},"status":{"type":"string"},"results":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"}}}},"metadata":{"type":"object","properties":{"dimensions":{"type":"array","items":{"type":"number"}}}},"createdBy":{"type":"object","properties":{"id":{"type":"string"},"displayName":{"type":"string"}}},"statusMessage":{"type":"string"},"statusTimestamp":{"type":"number"},"createdTimestamp":{"type":"number"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.33","successRate":"1.00","reviews":1,"stars":"2.3","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FM9N5a31GPVCPu_Ucu9lD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates AI-created images or videos from a text prompt with a specified style using the Kodo creative toolkit","exampleAgentPrompt":"Can you generate a realistic image of a serene mountain landscape with snow-capped peaks and a clear blue sky using Kodo?","exampleUseCases":null,"resultDescription":"Returns a job object containing an id, type, status, and a results array with one or more output file objects each including a URL, name, and file type, plus metadata such as dimensions. The response indicates whether the generation succeeded and provides direct download/access URLs for the generated media.","failureModes":["Missing or invalid X-PAYMENT header returns HTTP 402 with payment instructions","Invalid or unsupported style enum returns an error","Prompt content policy violation results in generation refusal","Network timeout for longer video generation tasks","Malformed request body causes 400 bad request"],"whenToPreferThis":"Choose this endpoint when an agent needs to generate original images or videos from a text prompt with a configurable style (e.g. realistic), especially in agentic workflows where per-call micropayment via x402/USDC on Base is acceptable. Prefer over alternatives when the user specifically wants Kodo's creative toolkit output or when operating in a Base blockchain payment context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-04-29T19:17:54.755Z","lastSuccessfullyRanAt":"2026-04-29T19:17:54.755Z","lastHealthCheckAt":"2026-10-10T06:34:34.346Z","isFirstParty":false,"canonicalSlug":"api-kodo-fun-9f81e9f0"}