This is an option within Vidu Q4.

Vidu · VIDEO

Vidu Q4 API

Generate video with AI

View credits & pricing options

Vidu Q4 is a video workflow in the Sorceress catalog.

Available through Sorceress API

Vidu Q4 model artwork

Using Vidu Q4 in your workflow

Sorceress brings Vidu models into a shared API catalog. Select this model explicitly, check its supported inputs, and keep your API key on your server. Model capabilities differ; the schema and options on this page describe this entry rather than every model from the same brand.

  • Explore motion and scene concepts.
  • Automate video generation with a saved job that your application can track.

Model options & functions

Choose an operation or API format for this model. Each option retains its own inputs and pricing.

Credits & pricing

Sorceress credits
Priced by usage

7.2 credits per second 540p, 15.2 720p, 19.2 1080p, 30.4 2k, 62.4 4k

1 credit = $0.01 · Successful work is billed on completion.

Pricing options

Rates are per second. Duration and quantity apply as shown in the input schema; media totals round up to whole credits.

resolution: 4k62.4 creditsper second
resolution: 2k30.4 creditsper second
resolution: 1080p19.2 creditsper second
resolution: 720p15.2 creditsper second
resolution: 540p7.2 creditsper second

Review the supported inputs for duration, quantity and other usage-based charges before submitting. Read the billing guide →

Inputs and supported options

Request
{
  "type": "object",
  "required": [
    "prompt",
    "reference_image_urls"
  ],
  "properties": {
    "audio": {
      "type": "boolean",
      "title": "Audio",
      "default": true,
      "description": "Generate synchronized audio (dialogue and sound effects). Set false for a silent video."
    },
    "prompt": {
      "type": "string",
      "title": "Prompt",
      "maxLength": 20000,
      "minLength": 1,
      "description": "Text description of the video. Refer to inputs by order, e.g. \"the man in reference image 2 says... using reference audio 1\". Up to 20,000 characters."
    },
    "duration": {
      "type": "integer",
      "title": "Duration",
      "default": 5,
      "maximum": 16,
      "minimum": 3,
      "description": "Video length in seconds. Integer from 3 to 16."
    },
    "resolution": {
      "enum": [
        "540p",
        "720p",
        "1080p",
        "2k",
        "4k"
      ],
      "type": "string",
      "title": "Resolution",
      "default": "720p",
      "description": "Output resolution."
    },
    "aspect_ratio": {
      "enum": [
        "16:9",
        "9:16",
        "1:1",
        "4:3",
        "3:4"
      ],
      "type": "string",
      "title": "Aspect ratio",
      "default": "16:9",
      "description": "Output aspect ratio."
    },
    "reference_audio_urls": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      },
      "title": "Reference audio URLs",
      "x-media": "audio",
      "maxItems": 3,
      "description": "Optional reference audio URLs (http/https), up to 3. MP3 only, each 3-12 seconds and up to 50 MB."
    },
    "reference_image_urls": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      },
      "title": "Reference image URLs",
      "x-media": "image",
      "maxItems": 15,
      "minItems": 1,
      "description": "Reference image URLs (http/https), 1 to 15. JPG, JPEG, PNG or WEBP."
    }
  }
}

API request template

Replace placeholders and choose valid values from the input contract.

Request
POST /api/v1/jobs
Authorization: Bearer $SORCERESS_API_KEY
Content-Type: application/json

{
  "model": "vidu-q4-reference-to-video",
  "input": {
    "prompt": "<your prompt>"
  }
}
Read the endpoint reference →

Completion, results and billing

Save the job identifier returned by asynchronous requests and poll the jobs endpoint until the job succeeds or fails. Do not resubmit a generation just because it is still processing. Chat returns a completed reply and usage details. A multi-step workflow can include separately billed successful steps even if a later step fails. Keep returned asset links with your project, and consult each action for its output format.

Coding agents can discover the current catalog and input requirements from the Sorceress agent instructions. Use a Sorceress key; provider credentials stay on the server.

Explore related models