# Agent Workflows

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

## Fast links

- Web page: https://www.restory.pics/agent/docs/workflows
- Markdown: https://www.restory.pics/api/agent/docs/markdown/workflows
- Capabilities JSON: https://www.restory.pics/api/agent/capabilities
- OpenAPI JSON: https://www.restory.pics/api/agent/openapi
- API keys: https://www.restory.pics/agent

## Daily social visuals

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

```bash
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, poll each image record, and gather CDN links when they complete.

## UGC video loop

Use an existing product image as a reference, generate a short video, poll the video record, 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.