AIHubMix Unified API
Create an AIHubMix video task
Creates a video task with the AIHubMix native media protocol. Video generation is always asynchronous.
POST
Create an AIHubMix video task
Autorizações
Gateway-issued API key, formatted as sk-gateway-xxxxxxxx.
Used by OpenAI-shaped endpoints (/v1/chat/completions, etc.).
Corpo
application/json
Video model ID.
Minimum string length:
1Video duration in seconds. Allowed values are model-specific.
Opções disponíveis:
480p, 720p, 1080p, 1K, 2K, 4K Pattern:
^[1-9][0-9]*x[1-9][0-9]*$Maximum string length:
512Minimum array length:
1Opções disponíveis:
completed, failed, cancelled Resposta
Video task
Platform task ID.
Opções disponíveis:
image, video Current task state. Completed, failed, and cancelled are terminal states.
Opções disponíveis:
pending, in_progress, completed, failed, cancelled Unix timestamp in seconds.
Artifact expiry time in Unix seconds; may be null before completion.
Create an AIHubMix video task