{"uid":"cap_J7oT5z8fC0tGIe8FBoWxV","slug":"pixelart-withzero-xyz-export-pixel-art-canvas-as-animated-gif-1b221b4c","name":"Export Pixel Art Canvas as Animated GIF","description":"Export the composited animation as GIF89a bytes. Query overrides: fps=1..60; scale=1..8 (default 4); loop=true|false; transparent=true|false (default true). Stored FPS and loop are used when omitted. Full agent guide: https://pixelart.withzero.xyz/llms.txt","url":"https://pixelart.withzero.xyz/api/v1/canvas/{id}/export.gif?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"}}},"responseSchema":{"type":"string","format":"binary","$schema":"https://json-schema.org/draft/2020-12/schema","description":"GIF89a binary image bytes with centisecond delays distributed to approximate the requested FPS."},"example":null,"exampleRequest":null,"tags":[],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":1,"rating":{"score":"1.00","successRate":"1.00","reviews":1,"stars":"5.0","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wMUpgEBMiufUH-gfzjiMV","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":"pixelart.canvas.export.gif:1"}],"brandName":"pixelart.withzero.xyz","brandSlug":"pixelart-withzero-xyz-mpp","brandBaseUrl":"https://pixelart.withzero.xyz","brandDocsUrl":null,"whatItDoes":"Exports a pixel art canvas animation as an infinite-loop GIF89a binary file, with configurable FPS, scale, and transparency.","exampleAgentPrompt":"Export my pixel art canvas (ID: abc123) as an animated GIF — set it to 12 fps, scale it up 4x, and keep the transparent background.","exampleUseCases":null,"resultDescription":"A raw binary GIF89a file (image/gif) representing the animated canvas with all visible layers composited across frames, looping infinitely. The agent should save the response bytes directly to a .gif file.","failureModes":["Canvas ID not found — 404 if the canvas does not exist","Invalid fps value outside 1-30 range — likely 400 or validation error","Invalid scale value outside 1-8 range — likely 400 or validation error","Canvas has no frames — may return empty or error GIF","Payment failure — $0.02 USDC not processed, 402 response","Large canvas with many frames may time out on slow connections"],"whenToPreferThis":"Use this endpoint when you need to download the final animated GIF output of a pixel art canvas created or edited via the pixelart.withzero.xyz API — especially when you need configurable frame rate, upscaling, or transparency. This is the only paid export endpoint on the platform; all other read routes are free.","instructions":"# Export GIF — output; requires a canvas {id}\n\n## Workflow\nThe {id} comes from an entry point: POST /api/v1/canvas (blank) or POST /api/v1/canvas/import (from image).\n- Draw first via /pixels, /shapes, /fill — then export.\n\n## Contract\n- Binary image/gif response — save the bytes to a file; do not JSON-parse.","reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":9,"lastUsedAt":"2026-07-28T22:30:06.844Z","lastSuccessfullyRanAt":"2026-07-14T03:04:25.622Z","lastHealthCheckAt":"2026-10-12T12:30:35.011Z","isFirstParty":true,"canonicalSlug":"pixelart-withzero-xyz-export-pixel-art-canvas-as-animated-gif-1b221b4c"}