Images, video, and 3D
vibetoken image create -m bytedance/seedream-5.0-flash "a red apple on a white table" --dir ./out
vibetoken video create -m bytedance/seedance-2-t2v "a cat playing piano" --duration 5 --dir ./out
vibetoken 3d create -m tripo/h3.1-text-to-3d "a ceramic teapot" --dir ./models
| Option | Effect |
|---|---|
-m, --model |
Model id (required); see Models and parameters |
-p, --prompt |
The prompt; or pass it as the trailing arguments, as above |
-i, --image |
Input image: URL or local file; repeatable |
-d, --dir |
Download every result file into this directory, as <id>-<name> |
--no-wait |
Return the task id right after submitting |
--timeout |
How long to wait (default 20m) |
--poll-interval |
Time between status checks (default 3s for images, 5s for video and 3D) |
--client-request-id |
Idempotency key; see Retry without paying twice |
--callback-url |
HTTPS URL that receives the result when the task finishes |
Model options such as size, aspect ratio, and duration are covered in Models and parameters.
Without --dir, only the result URLs are printed. They expire after 7 days, so download anything you want to keep.
Long-running tasks
Images take seconds; video and 3D can take several minutes. While create waits, you can stop waiting at any time without losing the task.
| Command | Does | Options |
|---|---|---|
video create … --no-wait |
Submit, print the task id, and return | |
video get <id> |
Show the status once | --dir downloads it if finished |
video wait <id> |
Wait until it finishes | --dir, --timeout, --poll-interval |
video find <key> |
Find a task by its --client-request-id |
Ctrl-C only stops waiting; the task keeps running, and is charged if it succeeds. The CLI prints the wait command to pick it up again. The same applies when --timeout (default 20 minutes) runs out.
Replace video with image or 3d for those tasks.
Speech
vibetoken audio speech -m minimax/speech-2.8-turbo --voice English_Trustworthy_Man "Hello, world!"
The audio is saved as speech.mp3.
| Option | Effect |
|---|---|
-m, --model |
Speech model id (required), such as minimax/speech-2.8-turbo |
--voice |
Voice id; see MiniMax system voices |
-O, --out |
Output file (default speech.<format>); - writes to stdout |
-f, --format |
mp3 (default), wav, flac, pcm, or opus |
--speed |
Speaking speed, 0.5 to 2 (default 1) |
-P field=value |
Any other field, such as -P provider.options.minimax.emotion=happy |
With no text arguments, the text is read from stdin:
cat script.txt | vibetoken audio speech -m minimax/speech-2.8-hd --voice English_Trustworthy_Man -O narration.mp3