{"uid":"cap_JSTD9e3ovaeNq9qfS2SqG","slug":"pixelart-withzero-xyz-pixel-art-ai-animation-cycle-generator-c515812e","name":"Pixel Art AI Animation Cycle Generator","description":"Generate a flattened animation cycle through Retro Diffusion and atomically replace the canvas frames. This is the legacy external-provider compatibility route; use segmentation plus layer transforms when authored, deterministic motion is required. Full agent guide: https://pixelart.withzero.xyz/llms.txt","url":"https://pixelart.withzero.xyz/api/v1/canvas/{id}/animate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["preset","frames","provider"],"properties":{"frames":{"anyOf":[{"type":"number","const":4},{"type":"number","const":6},{"type":"number","const":8},{"type":"number","const":10},{"type":"number","const":12},{"type":"number","const":16}],"default":8,"description":"Frame count of the generated cycle."},"preset":{"enum":["walking","idle","jump","crouch","attack","destroy","custom_action","subtle_motion"],"type":"string","description":"Animation preset. 'custom_action' animates whatever `prompt` describes; 'subtle_motion' adds ambient life to scenes."},"prompt":{"type":"string","maxLength":300,"description":"Motion description, e.g. 'confident steady walk, cape flowing'. Required for custom_action."},"provider":{"enum":["retrodiffusion"],"type":"string","default":"retrodiffusion","description":"Animation backend. Retro Diffusion redraws the sprite per frame from your canvas as the start frame."}},"additionalProperties":false},"responseSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["canvasId","frameCount","provider","viewUrl"],"properties":{"viewUrl":{"type":"string"},"canvasId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"provider":{"type":"string"},"frameCount":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991,"description":"Total animation frames on the canvas after generation."}},"additionalProperties":false},"example":null,"exampleRequest":null,"tags":[],"displayCostAmount":"0.3","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.83","successRate":"0.67","reviews":1,"stars":"4.3","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.3/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.3","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.3","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_J_Kx7FGIaL4zERoAjGxR7","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.3","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":"pixelart.withzero.xyz","brandSlug":"pixelart-withzero-xyz-mpp","brandBaseUrl":"https://pixelart.withzero.xyz","brandDocsUrl":null,"whatItDoes":"Uses the Retro Diffusion AI model to generate a game-quality pixel-art animation cycle (4–16 frames) from the current canvas, redrawing the sprite per frame for presets like walking, idle, jump, attack, and more.","exampleAgentPrompt":"Take my pixel art canvas (id: a1b2c3d4-...) and generate an 8-frame walking animation cycle using Retro Diffusion — make the character stride confidently with a cape flowing behind them.","exampleUseCases":[{"title":"Idle animation for game character","prompt":"Generate a 6-frame idle animation for my pixel art sprite using Retro Diffusion — I want subtle breathing and blinking motions to make the character feel alive."},{"title":"Attack animation cycle generation","prompt":"Create a 10-frame attack animation from my canvas with Retro Diffusion — the character should swing a sword with realistic arm movement and follow-through."},{"title":"Jump sequence for platformer game","prompt":"Make a 4-frame jump animation cycle for my pixel art character using Retro Diffusion — show the crouch, takeoff, peak, and landing poses smoothly."}],"resultDescription":"Returns a JSON object with the canvas ID, the total frame count after generation, the provider used, and a viewUrl where the animation can be previewed or shared. The animation replaces all existing flat frames on the canvas.","failureModes":["Canvas dimensions outside 32–256px per side — returns validation error","Canvas has active layers with cels that override frames — results may be unexpected unless layers are flattened first","custom_action preset used without a prompt field — returns validation error","Timeout if generation takes longer than 120s — may need retry","Invalid canvas ID — returns 404 not found","Invalid frame count (not one of 4,6,8,10,12,16) — returns validation error"],"whenToPreferThis":"Use this endpoint when you need AI-generated, game-quality pixel art animation with realistic pose changes per frame (not sliding cutouts). Ideal for game developers who want walking, idle, attack, or custom motion cycles without manually drawing each frame. Choose this over manual frame endpoints when you want Retro Diffusion to handle the per-frame sprite redrawing automatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":19,"lastUsedAt":"2026-07-28T22:30:06.829Z","lastSuccessfullyRanAt":"2026-07-16T03:29:01.004Z","lastHealthCheckAt":"2026-10-10T00:30:02.091Z","isFirstParty":true,"canonicalSlug":"pixelart-withzero-xyz-pixel-art-ai-animation-cycle-generator-c515812e"}