MarketSupport← Back to app

Volcengine

Volcengine models are called through one unified, asynchronous job API. Start a task with POST /api/generate, then poll GET /api/generate/{taskId} until it finishes. This family exposes 1 endpoint.

Overview

Every endpoint shares the same envelope — only model and the input fields change. Run any from the Models Market playground.

Authentication

Create an API key at /api-keys, then send it as a Bearer token. Requests from the browser while logged in also work via the session cookie.

Authorization: Bearer <YOUR_API_KEY>

Create Task

POST
POST https://api.lithovas.com/api/generate

Body: { "model": "<slug>", "input": { … } }

Response: { "taskId": "<id>", "state": "waiting" }

Query Result

GET
GET https://api.lithovas.com/api/generate/<taskId>

Response: { "taskId", "state": "waiting" | "success" | "fail", "resultUrls": [ … ], "creditsConsumed", "failMsg", "balance" }

Asynchronous
A 200 from Create Task only means the task was accepted — not finished. Poll this endpoint until state becomes success or fail. Failed tasks are not billed.

Endpoints

ModelTaskmodel slug
Video To Video Lip SyncVideo to Videovolcengine/video-to-video-lip-sync

Video To Video Lip Sync · Video to Video

POSTVideo to Videovolcengine/video-to-video-lip-sync
input fields
modeenum<string>required

Service mode: lite for frontal videos, basic for complex scenes

video_urlstringrequired

Video URL (360p-1080p; MOV, MP4, HDR; max 500MB)

audio_urlstringrequired

Target audio URL to drive lip movements; max 10MB

separate_vocalbooleanoptional

Enable vocal separation to suppress background noise

open_scenedetbooleanoptional

Enable scene segmentation and speaker ID (basic mode only)

align_audiobooleanoptional

Loop video when audio is longer than video (lite mode)

align_audio_reversebooleanoptional

Loop video backward; requires align_audio=true (lite mode)

templ_start_secondsnumberoptional

Start time of template video in seconds (lite mode)

Example
cURL
curl -X POST https://api.lithovas.com/api/generate \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "volcengine/video-to-video-lip-sync",
  "input": {
    "mode": "lite",
    "video_url": "https://example.com/reference.mp4",
    "audio_url": "https://example.com/reference.mp3",
    "separate_vocal": false,
    "open_scenedet": false,
    "align_audio": true,
    "align_audio_reverse": false,
    "templ_start_seconds": 0
  }
}'