Restory
Agent API DocsSections and machine-readable references

Reference

Public API

Call Restory JSON endpoints directly for restoration, image generation, video generation, uploads, credits, gallery, and job polling.

Base URL

https://www.restory.pics

Discovery

Discovery is public so agents can inspect supported workflows before authentication.

GET /api/agent/capabilities

OpenAPI

Use OpenAPI for generic API clients and keep capabilities JSON for current model settings, feature IDs, credit costs, and rollout-specific options.

GET /api/agent/openapi

Generation endpoints

POST /api/restore-photoFast restoration
POST /api/repair-damageRepair scratches, missing parts, and damage
POST /api/premium-ultraPremium 2K or 4K restoration
POST /api/generate-imageImage generation and editing
POST /api/generate-videoText, image, and reference video generation
POST /api/upload-reference-mediaUpload image, video, or audio references
GET /api/agent/jobs/{id}?type=image
GET /api/agent/jobs/{id}?type=video
GET /api/agent/gallery?type=image&status=completed&limit=20

Errors

API errors return JSON with `success: false` and a readable `error`. Entitlement failures include `upgradeRequired` and `featureRequired` when relevant.