跳转到主要内容
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.

授权

Authorization
string
header
必填

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

路径参数

video_id
string
必填

The identifier of the completed video to remix.

示例:

"video_123"

请求体

Parameters for remixing an existing generated video.

prompt
string
必填

Updated text prompt that directs the remix generation.

Required string length: 1 - 32000

响应

Success

Structured information describing a generated video job.

id
string
必填

Unique identifier for the video job.

object
enum<string>
默认值:video
必填

The object type, which is always video.

可用选项:
video
model
必填

The video generation model that produced the job.

status
enum<string>
必填

Current lifecycle status of the video job.

可用选项:
queued,
in_progress,
completed,
failed
progress
integer
必填

Approximate completion percentage for the generation task.

created_at
integer<unixtime>
必填

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

completed_at
integer<unixtime> | null
必填

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

expires_at
integer<unixtime> | null
必填

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

prompt
string | null
必填

The prompt that was used to generate the video.

size
enum<string>
必填

The resolution of the generated video.

可用选项:
720x1280,
1280x720,
1024x1792,
1792x1024
seconds
string
必填

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

remixed_from_video_id
string | null
必填

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

error
Error · object
必填

Error payload that explains why generation failed, if applicable.