Version=2024-01-01, content[], PascalCase material bodies, and the Volcengine response envelope. The required migration is the endpoint and authentication method.
What Changes
AK/SK signing is the only intentionally unsupported part. A request that contains only an AK/SK signature returns
401 InvalidCredential with a Bearer-authentication message.
Choose A Request Shape
The API root produces the smallest change for an Action client: replace the host and authentication, then keep the Action query and JSON body. The
/api/v3 Action endpoint remains available for existing TokenLab integrations.
Task Actions
REST clients can use these equivalent references:
- Create Task (Volc Compatible)
- Get Task (Volc Compatible)
- List Tasks (Volc Compatible)
- Cancel Task (Volc Compatible)
Request Body Rules
content[]acceptstext,image_url,video_url,audio_url, anddraft_taskitems.- For
image_url, omitroleor usefirst_framefor image-to-video. Uselast_frametogether with a first frame, orreference_imagefor reference-to-video. - A public material URI such as
asset://asset-YYYYMMDDHHMMSS-xxxxxcan be used where the selected Seedance workflow accepts that media role. - Common fields include
model,ratio,duration,resolution,generate_audio,watermark,return_last_frame,seed,priority,execution_expires_after, andsafety_identifier. callback_urlis not supported on the task-compatibility endpoint. Poll the returned task instead.
Minimal Action Example
cgt-... ID. Poll until status becomes succeeded, failed, cancelled, or expired; do not treat the create response as a completed video.
Materials And Real-Person Verification
The same Action endpoint also supports the 10 material and material-group operations. See Material Actions (Volc Compatible) for their exact PascalCase bodies, filters, paging, response envelope, and 12-hour material URLs. Real-person materials add two Actions before upload: The second Action returns the verifiedGroupId. Use that ID with CreateAsset; a client cannot create a LivenessFace group directly.
Migration Checklist
- Replace the API host with
https://api.tokenlab.sh. - Replace AK/SK signing with a TokenLab Bearer API key.
- Keep the existing Action, version, and request-body casing.
- Keep the same
ProjectNameacross related material and verification requests. - Store TokenLab task, group, and asset IDs instead of upstream-only identifiers.
- Verify one create, poll, list, and error response before moving production traffic.