# Rengi Forge: Video to Sprite Sheet Converter

> Rengi Forge: Video to Sprite Sheet Converter is a paid API for AI agents from rengi.dev, paid per call via x402, $0.15/call, status unknown (last checked 2026-10-22).

Converts an animation video or GIF into a fully processed sprite sheet with background removal, frame alignment, loop detection, and game-engine-ready exports

## Facts

- Endpoint: POST https://rengi.dev/v1/sprite-tools/video-to-sheet?utm_source=zero.xyz
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rengi-forge-video-to-sprite-sheet-converter-459d825a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PbJbtxoQrgZMQJeiAo3SP

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability rengi-forge-video-to-sprite-sheet-converter-459d825a -d '<json body>'
```

Example prompt: Take this Kling animation video URL and turn it into a sprite sheet at 12 fps with a 256px frame size, remove the background automatically, and give me the TexturePacker JSON and Godot SpriteFrames export.

## When to prefer this

Choose this endpoint when you need to convert an AI-generated animation (from Kling, Veo, Sora, or similar) or a captured GIF/video into a game-ready sprite sheet with professional preprocessing — background removal, jitter-free frame alignment, loop detection, and direct export to TexturePacker or Godot formats — rather than doing raw frame extraction only. It is especially valuable when you need engine-compatible metadata alongside the image.

## Known failure modes

- Video too large or format unsupported — only MP4, WebM, MOV, GIF accepted
- AI background removal limited to 24 frames maximum
- maxFrames or fps combination exceeds limits (max 120 frames, max 60 fps)
- Invalid or unreachable videoUrl returns an error
- Base64-encoded video malformed or exceeds size limits
- frameSize out of range (must be 16–1024)
- Payment not provided or x402 payment fails

## How this service works

Sprite tools: Turn an animation video or GIF (from Kling, Veo, Sora or a capture) into a sprite sheet: frames at your fps, background removed, every frame aligned to one box and pivot so it does not jitter, the best loop point, TexturePacker JSON, Godot SpriteFrames and a GIF preview. Full schema: https://rengi.dev/v1/sprite-tools/schema

## Output

Returns a sprite sheet image with all frames aligned to a consistent bounding box and pivot point (to eliminate jitter), background removed, the optimal loop point identified, a TexturePacker JSON layout, a Godot SpriteFrames file, and an animated GIF preview of the result.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "end": {
   "type": "number",
   "exclusiveMinimum": 0
  },
  "fps": {
   "type": "number",
   "default": 12,
   "maximum": 60,
   "minimum": 1
  },
  "start": {
   "type": "number",
   "default": 0,
   "minimum": 0
  },
  "video": {
   "type": "string",
   "description": "Base64 MP4, WebM, MOV or GIF."
  },
  "columns": {
   "type": "integer",
   "maximum": 64,
   "minimum": 1
  },
  "pixelArt": {
   "type": "boolean",
   "default": false,
   "description": "Scale with nearest neighbour."
  },
  "videoUrl": {
   "type": "string",
   "format": "uri"
  },
  "frameSize": {
   "type": "integer",
   "default": 256,
   "maximum": 1024,
   "minimum": 16,
   "description": "Longest side of one frame."
  },
  "maxFrames": {
   "type": "integer",
   "default": 48,
   "maximum": 120,
   "minimum": 1
  },
  "background": {
   "enum": [
    "auto",
    "keep",
    "flat",
    "ai"
   ],
   "type": "string",
   "default": "auto",
   "description": "auto: keep the video's own transparency, key a one-color background, or use AI (max 24 frames)."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rengi-forge-video-to-sprite-sheet-converter-459d825a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rengi.dev](https://www.zero.xyz/host/rengi.dev/llms.txt)
