Saltar para o conteúdo principal
POST
Remix a Video

Autorizações

Authorization
string
header
obrigatório

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

Parâmetros de caminho

video_id
string
obrigatório

The identifier of the completed video to remix.

Exemplo:

"video_123"

Corpo

Parameters for remixing an existing generated video.

prompt
string
obrigatório

Updated text prompt that directs the remix generation.

Required string length: 1 - 32000

Resposta

Success

Structured information describing a generated video job.

id
string
obrigatório

Unique identifier for the video job.

object
enum<string>
padrão:video
obrigatório

The object type, which is always video.

Opções disponíveis:
video
model
obrigatório

The video generation model that produced the job.

status
enum<string>
obrigatório

Current lifecycle status of the video job.

Opções disponíveis:
queued,
in_progress,
completed,
failed
progress
integer
obrigatório

Approximate completion percentage for the generation task.

created_at
integer<unixtime>
obrigatório

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

completed_at
integer<unixtime> | null
obrigatório

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

expires_at
integer<unixtime> | null
obrigatório

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

prompt
string | null
obrigatório

The prompt that was used to generate the video.

size
enum<string>
obrigatório

The resolution of the generated video.

Opções disponíveis:
720x1280,
1280x720,
1024x1792,
1792x1024
seconds
string
obrigatório

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

remixed_from_video_id
string | null
obrigatório

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

error
Error · object | null
obrigatório

Error payload that explains why generation failed, if applicable.