Skip to content
Book a callStart free

Every route

One page per route of the REST API, built from the same OpenAPI spec the app serves.

View as Markdown

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

RouteWhat it does
POST /api/v2/make_videoMake a video from a prompt
POST /api/v2/make_imageMake an image from a prompt
POST /api/v2/edit_imageEdit a picture with a prompt
POST /api/v2/recastRecast a video clip
POST /api/v2/creator_videoMake a video of a creator saying a script
POST /api/v2/make_musicMake a song from a prompt
POST /api/v2/run_templateRun a template
POST /api/v2/uploadsUpload a file to use as a reference
GET /api/v2/resultsList your recent jobs
GET /api/v2/results/{id}Get one job
POST /api/v2/results/{id}/cancelStop a job that has not finished
GET /api/v2/modelsList models and their prices
GET /api/v2/creatorsList creators for creator_video
GET /api/v2/templatesList the templates run_template can run
GET /api/v2/callbacksList callback deliveries
POST /api/v2/callbacks/{event_id}/retryRetry a failed callback by hand
GET /api/v2/callbacks/secretGet your callback signing secret
POST /api/v2/callbacks/secret/rotateMake a new callback signing secret
GET /api/v2/ads/accountsList connected ad accounts
GET /api/v2/ads/creativesList creatives you can advertise
GET /api/v2/ads/campaignsList campaigns with stats
POST /api/v2/ads/launchesDraft an ad launch
GET /api/v2/ads/launches/{id}Get one ad launch