Skip to main content
POST
/
v1
/
videos
Queue a video generation (async)
curl --request POST \
  --url https://api.rimp.io/v1/videos \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "<string>",
  "prompt": "<string>",
  "duration_s": 6,
  "image_url": "<string>",
  "seed": 123
}
'
{
  "id": "<string>",
  "prompt": "<string>",
  "params": {},
  "reserved_credits": 123,
  "charged_credits": 123,
  "refunded_credits": 123,
  "cache_hit": true,
  "outputs": [
    {
      "id": "<string>",
      "mime": "<string>",
      "width": 123,
      "height": 123,
      "duration_s": "<string>",
      "url": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://rimp.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
string
required
prompt
string
required
duration_s
integer
Required range: 2 <= x <= 10
aspect_ratio
enum<string>
Available options:
16:9,
9:16,
1:1
resolution
enum<string>
Available options:
720p,
1080p
image_url
string<uri>
seed
integer

Response

202 - application/json

Generation queued. Poll /v1/generations/{id} or subscribe via webhook.

id
string
object
enum<string>
Available options:
generation
status
enum<string>
Available options:
queued,
running,
succeeded,
failed,
canceled
modality
enum<string>
Available options:
image,
video,
voice,
music,
avatar,
chat,
3d,
upscale
prompt
string
params
object
reserved_credits
integer
charged_credits
integer
refunded_credits
integer
cache_hit
boolean
outputs
object[]