Qiniu AI icon

Qiniu AI

Interact with Qiniu AI services - Chat, Image, Video, Agent and more

Video → Remix

AI-generated

Summary

Remixes a video via Qiniu AI with optional prompt, duration, mode, and negative prompt; returns task ID and status, optionally waiting for completion to include video metadata.

Inputs

  • sourceVideoId (required) — The ID of the video to remix
  • remixPrompt — New prompt to guide the remix
  • waitForCompletion — Whether to wait for the remix to complete before returning
  • remixOptions — Duration, mode, and negative prompt for the remix

Output shape

object

If waitForCompletion is true: {id, status, videos, _raw}. If false: {id, status: 'processing', _raw}. The videos array contains video URLs and metadata from the completed task.

Examples

Example 1: Remix a video with a new prompt and 10-second duration, wait for completion

sourceVideoId: 'vid_123', remixPrompt: 'make it faster', waitForCompletion: true, remixOptions: {duration: '10', mode: 'pro'}

Links

Discussion