Restory
Agent API DocsSections and machine-readable references

Recipes

Agent Workflows

Common end-to-end loops for content agents, restoration batches, video generation, and publishing pipelines.

Daily social visuals

Generate a set of brand-safe images, collect completed result URLs, and send them to a scheduler such as Postiz.

restory image:generate --prompt "daily skincare launch visual, clean studio light" --model nano-banana-2 --resolution 2K --aspect-ratio 4:5
restory jobs:get <imageRecordId> --type image

Restoration batch

Agents can iterate through a folder of old photos, submit restoration jobs, and gather CDN links when they complete.

UGC video loop

Use an existing product image as a reference, generate a short video, and push the completed video URL into a content workflow.

Postiz handoff

Restory outputs stable media URLs. A publishing agent can hand those URLs to Postiz, CMS tools, email builders, or ad creative workflows.