Skip to main content
vetta media generate renders: an image comes back at once as files; a video is a media job you read back with vetta media show. vetta media models is how you learn a legal --model, for generate or to pin with vetta agent tools. vetta media clip <url> turns a long video into short, scored, captioned clips as a job you poll with vetta media clip show. vetta media models is how you learn a legal --model to pin with vetta agent tools, and what a session’s generate_image / generate_video will accept. vetta media stock searches the stock photo library for a licensed photo, free. vetta media transcribe, vetta media speak and vetta media converse are the three audio routes from the terminal. There is no fixed list of models. The catalogue is read from the provider on every call, so a model published today is callable today — and a model that never existed can never be offered.

Commands

generate

A video answers with the job in queued; vetta media show it until it is completed, then vetta file download the result.files[0].file_id. Or add --wait and the command polls for you, printing the finished job and exiting 0 on completed, 1 on failed:
The CLI sends the required Idempotency-Key for you; re-running the same command renders again.

show

A failed job carries error: { code, message } and cost_micro_usd: 0 — a job that fails is not billed.

list

models

Images come back cheapest-first, which is the order generate and generate_image pick their default from. Video models carry no published per-output price, so both ask you to name one rather than guessing. No price is on the reply. A generation is billed what it actually cost once it finishes — nothing is held or checked beforehand, from the CLI, the API or a session; the debit lands once, when the render does. --kind stt, --kind tts and --kind s2s list the audio models the same way: the managed alias for that direction first, then pinned models cheapest-first where a price is published.

stock

Show photographer, linked to attribution_url, wherever you use the photo — that credit is what the licence asks for. To keep the bytes as a fil_, import url through vetta file. A deploy with no stock photo library configured answers feature_not_configured.

clip

The URL must be public http(s); a private or loopback host is refused. The job is billed what it actually cost once it finishes, and a submit is refused when the organization’s balance is empty.

clip show

The same object, moved on. Once status is completed, result.clips lists each clip’s file_id, title, start_seconds, end_seconds, duration_seconds and virality scores (0–100), and cost_micro_usd is settled. Fetch a clip’s bytes with vetta file.

clips

Only jobs submitted with vetta media clip or the API are listed; what an agent’s clip_video tool cuts inside a session lands in that session as files.

transcribe

A local path is uploaded first as a published file, then transcribed; an http(s) URL or a fil_ id is sent as-is. Prints the transcription job — usually already completed with result.text and result.segments; a long recording the provider queues prints processing, to be re-read with vetta media transcription.

transcription

The same job, by id.

speak

Prints the speech generation: model, cost_micro_usd, and the stored file. The bytes are one vetta file download away:

converse

One spoken turn in, the spoken reply out. A local path is uploaded and a public URL is imported into the library first — the route takes a stored fil_ only; a fil_ id is sent as-is. Prints the same speech generation speak does:

Pinning a model on an agent

Feed that id to vetta agent tools: