Affogato API
API by Affogato · rest
Generate images, video and audio with every model Affogato serves, from your own code or your agents. Authentication. Send your key as Authorization: Bearer afg_…. Keys are created on the Developers page of your Affogato account and are available on paid plans. Never ship a key in client-side code. Credits. Every generation is priced in the same credits your plan includes. POST /v1/generations/estimate quotes a request without charging; POST /v1/generations charges up front and refunds in full if the generation fails or is cancelled. Async. A generation starts as queued, moves to processing, and ends succeeded, failed or cancelled. Poll GET /v1/generations/{id}, pass ?wait=25 to long-poll, or set webhook_url to receive a signed Standard-Webhooks POST when it finishes. Files. Upload inputs with POST /v1/files (or /v1/files/from-url) and pass the file id in the model's input slots (inputs on GET /v1/models/{id}). Outputs are files too.…
Endpoint: https://api.affogato.ai/v1
Verification: observed. Source: crawl.
Capabilities (38)
- Account credits and limits
- List files
- Upload a file
- Import a file by URL
- Get a file
- Delete a file
- Start a private multi-step generation workflow
- List generations
- Create a generation
- Estimate the credit price of a generation
- Get a generation
- Cancel a generation
- List models
- Get a model
- Enhance a prompt
- Cast swap (Videozypher)
- Your saved characters
- Professional headshot
- Curated headshot styles
- Lipsync a video to audio
- Product ad photo
- Product ad scene templates
- Talking head: keyframe
- Curated talking-head sets
- Talking head: animate