# Rengi Forge – Sprite Inbetween Frame Generator

> Rengi Forge – Sprite Inbetween Frame Generator is a paid API for AI agents from rengi.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-18).

Generates interpolated in-between frames between existing sprite animation frames, keeping pixel art crisp with no new colors, and returns a sprite sheet, JSON metadata, and a before/after GIF preview.

## Facts

- Endpoint: POST https://rengi.dev/v1/sprite-tools/inbetween?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rengi-forge-sprite-inbetween-frame-generator-c274d60c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T_1ccyE2e5KjVw67wi7yk

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-sprite-inbetween-frame-generator-c274d60c -d '<json body>'
```

Example prompt: Take my 4-frame pixel art walk cycle (I'll give you the sprite sheet with 4 columns and 1 row) and double the frames to 8 using pixel mode so no new colors are added — make sure the loop seam is included and give me back the sheet, JSON, and a before/after GIF.

## When to prefer this

Choose this endpoint when you need to increase the frame count of an existing pixel art or sprite animation while preserving pixel crispness and palette fidelity — especially when you have keyframes already created and want smoother motion without manually drawing in-betweens. Ideal for game developers working with pixel art who need seamless looping animations with doubled or tripled frame counts.

## Known failure modes

- Input frames are not the same size — returns validation error
- Fewer than 2 frames or more than 32 frames provided — schema violation
- Image data is not valid Base64 PNG/JPEG/WebP — parse error
- cols×rows exceeds count of actual frames — mismatch error
- factor value is not 2 or 3 — enum validation failure
- Image URL is unreachable — fetch error
- Payment not included or insufficient (x402) — 402 Payment Required

## How this service works

Sprite tools: Smoother sprite animation: in-between frames from motion between your frames (4 frames to 8 or 12), pixel art stays crisp with no new colours, holds stay holds, loop seam included; sheet, JSON and a before/after GIF. Full schema: https://rengi.dev/v1/sprite-tools/schema

## Output

Returns an expanded sprite sheet image with the original and newly interpolated in-between frames, a JSON file describing frame coordinates and metadata, and a before/after GIF preview showing the animation improvement. Frame count is multiplied by the factor (2x or 3x) per pair, including loop seam frames if enabled.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "fps": {
   "type": "integer",
   "default": 12,
   "maximum": 60,
   "minimum": 1,
   "description": "Frame rate of the original, for the preview."
  },
  "cols": {
   "type": "integer",
   "maximum": 64,
   "minimum": 1
  },
  "loop": {
   "type": "boolean",
   "default": true,
   "description": "Also make in-betweens from the last frame back to the first."
  },
  "mode": {
   "enum": [
    "auto",
    "pixel",
    "smooth"
   ],
   "type": "string",
   "default": "auto",
   "description": "pixel: crisp, no new colours; smooth: blended; auto picks pixel for hard alpha and a small palette."
  },
  "rows": {
   "type": "integer",
   "maximum": 64,
   "minimum": 1
  },
  "count": {
   "type": "integer",
   "maximum": 64,
   "minimum": 2,
   "description": "Frames used from the sheet when the last row is not full."
  },
  "sheet": {
   "type": "object",
   "properties": {
    "image": {
     "type": "string",
     "description": "Base64 PNG, JPEG or WebP."
    },
    "imageUrl": {
     "type": "string",
     "format": "uri"
    }
   },
   "description": "Or one sprite sheet, cut into cols x rows equal cells (row by row).",
   "additionalProperties": false
  },
  "factor": {
   "enum": [
    2,
    3
   ],
   "type": "number",
   "default": 2,
   "description": "2: one new frame between each pair (4 frames become 8 for a loop); 3: two new frames."
  },
  "frames": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "image": {
      "type": "string",
      "description": "Base64 PNG, JPEG or WebP."
     },
     "imageUrl": {
      "type": "string",
      "format": "uri"
     }
    },
    "additionalProperties": false
   },
   "maxItems": 32,
   "minItems": 2,
   "description": "The animation frames in order, all the same size."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rengi-forge-sprite-inbetween-frame-generator-c274d60c/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)
