Every route
One page per route of the REST API, built from the same OpenAPI spec the app serves.
Base address: https://app.diffusr.ai/api/v2. Send Authorization: Bearer <key> on every call except GET /models.
Raw spec (OpenAPI 3.1): https://app.diffusr.ai/api/v2/openapi.json
| Route | What it does |
|---|---|
POST /api/v2/make_video | Make a video from a prompt |
POST /api/v2/make_image | Make an image from a prompt |
POST /api/v2/edit_image | Edit a picture with a prompt |
POST /api/v2/recast | Recast a video clip |
POST /api/v2/creator_video | Make a video of a creator saying a script |
POST /api/v2/make_music | Make a song from a prompt |
POST /api/v2/run_template | Run a template |
POST /api/v2/uploads | Upload a file to use as a reference |
GET /api/v2/results | List your recent jobs |
GET /api/v2/results/{id} | Get one job |
POST /api/v2/results/{id}/cancel | Stop a job that has not finished |
GET /api/v2/models | List models and their prices |
GET /api/v2/creators | List creators for creator_video |
GET /api/v2/templates | List the templates run_template can run |
GET /api/v2/callbacks | List callback deliveries |
POST /api/v2/callbacks/{event_id}/retry | Retry a failed callback by hand |
GET /api/v2/callbacks/secret | Get your callback signing secret |
POST /api/v2/callbacks/secret/rotate | Make a new callback signing secret |
GET /api/v2/ads/accounts | List connected ad accounts |
GET /api/v2/ads/creatives | List creatives you can advertise |
GET /api/v2/ads/campaigns | List campaigns with stats |
POST /api/v2/ads/launches | Draft an ad launch |
GET /api/v2/ads/launches/{id} | Get one ad launch |