Passer au contenu principal
POST
/
v1
/
videos
/
{video_id}
/
remix
Remix a Video
curl --request POST \
  --url https://aihubmix.com/v1/videos/{video_id}/remix \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'prompt=<string>'
{
  "id": "<string>",
  "object": "video",
  "model": "<string>",
  "progress": 123,
  "created_at": 123,
  "completed_at": 123,
  "expires_at": 123,
  "prompt": "<string>",
  "seconds": "<string>",
  "remixed_from_video_id": "<string>",
  "error": {
    "code": "<string>",
    "message": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.aihubmix.com/llms.txt

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

Autorisations

Authorization
string
header
requis

Gateway-issued API key, formatted as sk-gateway-xxxxxxxx. Used by OpenAI-shaped endpoints (/v1/chat/completions, etc.).

Paramètres de chemin

video_id
string
requis

The identifier of the completed video to remix.

Exemple:

"video_123"

Corps

Parameters for remixing an existing generated video.

prompt
string
requis

Updated text prompt that directs the remix generation.

Required string length: 1 - 32000

Réponse

Success

Structured information describing a generated video job.

id
string
requis

Unique identifier for the video job.

object
enum<string>
défaut:video
requis

The object type, which is always video.

Options disponibles:
video
model
requis

The video generation model that produced the job.

status
enum<string>
requis

Current lifecycle status of the video job.

Options disponibles:
queued,
in_progress,
completed,
failed
progress
integer
requis

Approximate completion percentage for the generation task.

created_at
integer<unixtime>
requis

Unix timestamp (seconds) for when the job was created.

completed_at
integer<unixtime> | null
requis

Unix timestamp (seconds) for when the job completed, if finished.

expires_at
integer<unixtime> | null
requis

Unix timestamp (seconds) for when the downloadable assets expire, if set.

prompt
string | null
requis

The prompt that was used to generate the video.

size
enum<string>
requis

The resolution of the generated video.

Options disponibles:
720x1280,
1280x720,
1024x1792,
1792x1024
seconds
string
requis

Duration of the generated clip in seconds. For extensions, this is the stitched total duration.

remixed_from_video_id
string | null
requis

Identifier of the source video if this video is a remix.

error
Error · object
requis

Error payload that explains why generation failed, if applicable.