Pixelrope API: Generate AI Images and Videos via REST

The Pixelrope API is the same REST API the web app itself uses to generate AI images and videos, manage your library and read your credit balance — there is no separate, limited surface. Every route lives under the base URL https://pixelrope.com/api/v1 and speaks JSON only.

Routes that touch your account need a session cookie from a signed-in Pixelrope account, the same auth the web app uses; a standalone API key for server-to-server use is planned but not available yet. AI agents and apps that act for a user (Claude, ChatGPT, Cursor) use the MCP server at https://pixelrope.com/mcp instead: OAuth 2.1 with dynamic client registration, the user approves once, and the generate tool spends their credits (https://pixelrope.com/auth.md). Generation and other long-running routes always answer with a 202 and a status you poll: POST /api/v1/generations returns an id and a status, then GET /api/v1/generations/{id} until it is completed or failed. Mutating routes like POST /api/v1/generations accept an Idempotency-Key header, so a retried request can't double-charge your credits.

Key endpoints: GET /api/v1/models for every model's JSON Schema and credit cost, POST /api/v1/generations to start a job, GET /api/v1/generations/{id} to poll it, POST /api/v1/generations/{id}/cancel, POST /api/v1/uploads for reference images or a source video, and GET /api/v1/me for your plan and credit balance. Errors come back as {"error":{"code":"snake_case"}}.

A route that needs no auth, to check the API is reachable:

curl https://pixelrope.com/api/v1/health

The full, always-current list of routes, parameters and response shapes is in the OpenAPI spec: https://pixelrope.com/api/v1/openapi.json.