API reference
API reference
Base URL https://api.oriorai.com/v1. Every endpoint with parameters, examples and responses. Also available as OpenAPI 3.1.
Account
Plan, credit balance and limits for the key.
GET/v1/account
Usage
Credits spent through the API, per month.
GET/v1/usage
Models
Every model, its options and API prices.
GET/v1/models
Quote
Price a request before running it.
POST/v1/quote
Uploads
Store media for use as inputs.
POST/v1/uploads
GET/v1/uploads/{id}
GET/v1/uploads
Images
Generate an image.
POST/v1/images
Videos
Generate a video with any Orior model.
POST/v1/videos
Generations
Status, results, cancellation and deletion.
GET/v1/generations/{id}
GET/v1/generations
POST/v1/generations/{id}/cancel
DELETE/v1/generations/{id}
Characters
Consistent people for images and videos.
POST/v1/characters
GET/v1/characters/presets
POST/v1/characters/preset
GET/v1/characters
GET/v1/characters/{id}
PATCH/v1/characters/{id}
DELETE/v1/characters/{id}
Products
Products preserved exactly in generations.
POST/v1/products
GET/v1/products
GET/v1/products/{id}
PATCH/v1/products/{id}
DELETE/v1/products/{id}
Voices
Voices for characters.
GET/v1/voices
Social accounts
Connect a character’s social accounts.
POST/v1/social/connect-links
GET/v1/social/accounts
DELETE/v1/social/accounts/{character_id}/{platform}
Social posts
Publish or schedule generations.
POST/v1/social/posts
GET/v1/social/posts
GET/v1/social/posts/{id}
Webhook endpoints
Receive events instead of polling.
POST/v1/webhooks
GET/v1/webhooks
GET/v1/webhooks/{id}
DELETE/v1/webhooks/{id}
POST/v1/webhooks/{id}/test
GET/v1/webhooks/{id}/deliveries