https://mcp.contenthero.ai and by the @contenthero/mcp npm package. A write tool changes your account; a read tool does not.
generate_image
write
Run any image model of the Studio picker. The model’s operation decides the work: generation from a prompt (optionally image-to-image with reference images), upscaling, background removal, layer separation, or a reference sheet. get_model names the operation and the inputs the model takes; a field the model’s operation does not take is refused, never ignored. Sources for upscaling, background removal and layer separation go in referenceImages. Generation, upscaling and background removal return at once with an outputId; get_status waits for the render. A reference sheet waits for its result and, when it is still rendering, returns an outputId to read with get_status. A layer separation result carries every output (the base and each layer) with its position. Optionally pass projectId to place the generated image onto that project in the same call, controlled by an optional placement: a VIDEO timeline places a clip on a track, a CANVAS design places a layer on a slide (defaulting to the slide the user is focused on). Omit projectId to save a standalone library output. The result LINKS each output so the user sees it inline; to SEE it yourself (judge a face, check legibility, pick between variations) call get_media with the outputId. SPENDS CREDITS: pass getCost to preview the price first, which runs nothing and charges nothing. A retry that repeats the same operation id or output id returns the work already started and never charges twice. The reply names the id to read its progress.
The model id. list_models (contentType image) names every image model, its operation and what it is for; get_model gives one model’s options, inputs and prompt guide.
e.g. 16:9, 1:1, 9:16. Validated per model; on a reference sheet model, one of the ratios get_model lists for it.
Optional avatar id from list_avatars. File the result onto that avatar as a new LOOK (one appearance of a reusable character: same person, different outfit, setting or framing) instead of saving a standalone library output. Combine with a referenceImage of the avatar to keep the subject on-model. Either its short id or its UUID. On a reference sheet model it associates the sheet with that avatar instead.
How many panels the sheet holds, a whole number within the range get_model(‘reference-sheets’) reports. Omitted uses the sheet type’s default.
Where the asset lands, interpreted against the project’s type. VIDEO TIMELINE: append to the end, at a time, at the playhead, replacing an existing clip, or filling a time range (omitted places it at the playhead when known, else appends). CANVAS DESIGN: a layer on a slide (slideId / slideIndex, default the focused slide; fit contain|cover|none; a nine-point anchor; and design-pixel x/y/width/height).
The project to place the result on. Omit for a standalone library output. The server interprets placement against the project’s type (video timeline or canvas design).
Describe the image to generate. Required for most models; optional for a few that can run from references alone.
References for image-to-image or editing, and the source image of an upscaling, background removal, layer separation or reference sheet model. Each may be a URL or a previous output id (e.g. “<id>” or “<id>-2”) to chain from an earlier generation.
generate_video
write
Run any video model of the Studio picker. The model’s operation decides the work: generation from a prompt (optionally from a start/end frame or reference images/videos/audio), lip sync of a portrait or a video to speech, upscaling, or background removal. get_model names the operation and the inputs the model takes; a field the model’s operation does not take is refused, never ignored. Sources for upscaling and background removal go in referenceVideos. A lip sync model takes its portrait in referenceImages or its video in referenceVideos, as get_model declares, plus speech from referenceAudio (one clip) or script with voiceId. Returns at once with an outputId; get_status waits for the render. Some models choose an input mode by which references you pass (a startFrame with an optional endFrame, or references alone); get_model describes each model’s modes. Optionally pass projectId to place the generated video onto that project in the same call, controlled by an optional placement: a VIDEO timeline places a clip on a track, a CANVAS design places a layer on a slide (defaulting to the slide the user is focused on). Omit projectId to save a standalone library output. The result LINKS each output so the user sees it inline; to SEE it yourself (judge a face, check legibility, pick between variations) call get_media with the outputId. SPENDS CREDITS: pass getCost to preview the price first, which runs nothing and charges nothing. A retry that repeats the same operation id or output id returns the work already started and never charges twice. The reply names the id to read its progress.
The model id. list_models (contentType video) names every video model, its operation and what it is for; get_model gives one model’s options, input modes and prompt guide.
For a lip sync model with referenceAudio: the length of that clip in seconds, which improves cost accuracy.
Video edit only, on models that offer it: keep the input video’s full length instead of a set duration. Charged for that length.
On a model that offers it, with a reference video: keep that video’s own sound in the result. get_model lists the model’s settings and when each applies.
Middle frames between the first and last frame, in order, for models that take them (URL or output id). They need a startFrame.
Kling elements: each is a saved Kling element ({ klingElementId }) or an inline group ({ name, description, images }), addressable in the prompt as @name. Only for models that take them (get_model promptReferences, named_tag scheme). A name must follow the naming rules get_model gives for the model; whether a startFrame is required or refused beside them follows the input modes get_model describes.
Multi-shot with the cuts planned by the model, on a model whose shots include auto (get_model). To write each shot yourself, pass shots instead.
Where the asset lands, interpreted against the project’s type. VIDEO TIMELINE: append to the end, at a time, at the playhead, replacing an existing clip, or filling a time range (omitted places it at the playhead when known, else appends). CANVAS DESIGN: a layer on a slide (slideId / slideIndex, default the focused slide; fit contain|cover|none; a nine-point anchor; and design-pixel x/y/width/height).
The project to place the result on. Omit for a standalone library output. The server interprets placement against the project’s type (video timeline or canvas design).
Describe the video to generate. Required for most models; optional for some, where it is an auxiliary motion hint. On a lip sync model it is the optional motion or expression hint.
Reference audio (audio-driven video): each a URL or a previous output id. Only used by models that accept audio references; get_model says which do. On a lip sync model, the one existing speech clip.
Reference images: each a URL or a previous output id to chain. On a lip sync model that takes an image, the one portrait to animate.
For a lip sync model: text for the subject to speak, synthesized to speech. Requires voiceId; use this or referenceAudio. Before writing directions into the script, read the speech model’s promptGuide with get_model.
Multi-shot mode with per-shot prompts, on a model that takes them (get_model gives its shot limits): an ordered list of shots, each with its own prompt and duration in seconds. When provided, the video runs in multi-shot mode; only startFrame attaches as an image (it becomes the first frame of shot 1), all other shots are text-only.
For an upscaling or background removal model: the length of the source video in seconds, used for pricing. Required by those models.
First frame: an image URL or a previous output id (e.g. “<id>-2”) to chain (e.g. animate an image you just generated).
Upgrade a completed draft output owned by the caller. The model must declare draftUpgrade. Shot settings are inherited and cannot change.
generate_audio
write
Generate audio: speech (TTS), music, or a sound effect. Returns the audio URL directly (synchronous, no polling). Music takes either a prompt or a compositionPlan: the song section by section, each chunk with its lyrics, length and styles. withTimestamps returns the sung words with their times, and storeForInpainting keeps the song so a later plan can reuse stretches of it and rewrite one section. Optionally pass projectId to place the generated audio onto that editor project’s timeline in the same call, controlled by an optional placement; omit projectId to save a standalone library output. The result LINKS each output so the user sees it inline; to SEE it yourself (judge a face, check legibility, pick between variations) call get_media with the outputId. SPENDS CREDITS: pass getCost to preview the price first, which runs nothing and charges nothing.
The model id. list_models (contentType audio) names every audio model and what each is for; get_model gives one model’s inputs.
Music only, instead of prompt: the song section by section. Its length is the sum of its chunks, so durationSeconds is not sent with it.
Where the asset lands, interpreted against the project’s type. VIDEO TIMELINE: append to the end, at a time, at the playhead, replacing an existing clip, or filling a time range (omitted places it at the playhead when known, else appends). CANVAS DESIGN: a layer on a slide (slideId / slideIndex, default the focused slide; fit contain|cover|none; a nine-point anchor; and design-pixel x/y/width/height).
The project to place the result on. Omit for a standalone library output. The server interprets placement against the project’s type (video timeline or canvas design).
For music with a compositionPlan: a seed, so the same plan gives a more consistent result. Not taken with a prompt.
Music only: keep the song with the provider so a later compositionPlan can reuse stretches of it, which is how one section is edited.
For a speech model: the words to speak. Read the model’s promptGuide with get_model before writing directions into it.
Music only: also return the sung words with their start and end times, and save them as the song’s transcript.
edit_audio
write
Transform existing audio with an audio-processing model, in one of TWO shapes. FILE mode: pass sourceUrl to process a standalone file into a new library asset. Voice isolation removes background noise and music and returns the processed URL directly; audio enhancement levels loudness and cleans up background noise, is asynchronous, and returns an outputId to poll with get_status. Splitting gives a recording’s four stems (vocals, drums, bass, and other: everything else, sound effects included) as four files of your own: at once when the file has been analyzed before, otherwise once its analysis lands; it returns an outputId and its status to poll with get_status. Optionally pass projectId to place the result onto that editor project’s timeline in the same call, controlled by an optional placement. IN-PLACE mode: pass projectId with clipIds (or inPlace for the whole timeline) to enhance or split the audio OF EXISTING CLIPS instead of producing a new asset, which is how you clean up a recording already on a timeline. In-place returns a LIST of jobs, one per SOURCE, because the vendor estimates a noise profile per production: one recording’s clips are concatenated and enhanced together so the level and noise floor stay consistent across cuts, while separate recordings stay separate jobs. Poll every job’s outputId. The enhanced audio is applied to the clips automatically when each job lands: an audio clip has its source swapped, and a video clip is muted with the enhanced audio placed on its own clip. A split mutes each clip and places its four stems under it, each on its own track. Silenced clips are skipped. In-place mode needs no sourceUrl. SPENDS CREDITS: pass getCost to preview the price first, which runs nothing and charges nothing. A retry that repeats the same operation id or output id returns the work already started and never charges twice. The reply names the id to read its progress.
IN-PLACE mode: enhance or split the audio of these clips on projectId. Omit with inPlace:true to edit every audible clip on the timeline.
File mode: the source audio length in seconds, required for getCost and for enhancement pricing when the source is not a stored ContentHero asset. In-place mode ignores it: the cost comes from the clips.
Instead of operation: an audio model that takes one audio file and returns audio (it resolves to the operation it performs). list_models (contentType audio) names them; get_model gives one model’s inputs and whether it finishes at once or is polled with get_status.
isolate: voice isolation. enhance: loudness leveling and noise cleanup. split: vocals, drums, bass and other as four files, or four tracks in in-place mode. The server picks the model that performs it. Omitted: enhance in in-place mode, else isolate.
Where the clip lands: append to the end, at a time, at the playhead, replacing an existing clip, or filling a time range. Omitted places it at the playhead when known, else appends.
The editor project: where to PLACE the result in file mode, or which timeline to edit in in-place mode. Omit for a standalone library output.
FILE mode: the audio file to process, as a URL or a previous output id. Omit in in-place mode, where the sources come from the clips.
transcribe
write
Transcribe speech to text from one source: an audio file by its public URL (audioUrl), a public video page by its link (videoUrl: YouTube, Instagram, TikTok, X), or a tracked post’s video (contentId, with slide for a carousel’s video) once analyze_content kind video has downloaded it. SPENDS CREDITS, metered by the length heard. Pass getCost to see the price first: nothing runs and nothing is charged. A post is priced from its stored copy’s length and an audio file from its own; a file whose length cannot be read is priced only once it is transcribed, and the preview says so. A file run on the account’s own ElevenLabs key costs nothing. A video link is priced by where its words come from: nothing when the words are already held, a flat price when the platform has them written, a higher flat price when they must be generated from the audio; it answers with the words, the video’s title, channel, view count and length where the platform gives them, and the charge. A post is transcribed word by word: its one video becomes the post’s transcript, which get_content then returns word-timed with transcript=‘words’; a carousel slide’s words stay with that slide. A post is charged once, to whoever asks first, for what was heard, and is free once its words exist or are being made. A long video returns running: call this again with the same contentId and slide to follow it, which is free.
The tracked post whose video to transcribe: its id or short id, its link, or the platform’s own id for it. Its video must be downloaded first with analyze_content kind video. Pass one of audioUrl, videoUrl or contentId.
ISO language hint for an audio file. Auto-detected when omitted; a post’s language is always detected.
Which slide of a carousel post, by the position get_content reports for it: an image slide returns its image, a video slide its frames. Only with contentId.
Link to a public video page (YouTube, Instagram, TikTok, X) whose spoken words to transcribe. Pass one of audioUrl, videoUrl or contentId.
get_status
read
Check any background job: generations and edits, exports, brand kit reads, avatars, a post’s analysis or scenes, and transcripts. Pass the ids the calls that started them returned; an id alone names its job. Each id answers on its own line, so one that names no job of yours says why and the others still answer. Pass kind only for a full UUID, for scenes or a transcript (the id is the post or media it belongs to), or when the answer says an id is ambiguous. BY DEFAULT THIS BLOCKS until the jobs finish, up to ~40s per call, because that is almost always what you want after starting one; a job still running comes back with where it is and a poll_after_seconds hint, so call again. Pass wait:false for an instant snapshot with no blocking. A finished generation answers with its final URLs. A job is over only when its status is settled or failed. Processing and applying mean it is still running; keep reading the same id. For a post’s analysis or scenes, queued means no worker has the job yet, and detail.wait says how many jobs are ahead (approximate), what a deferred job is waiting for, and a typical time when the kind has finished jobs on record; processing means a worker has it.
Which kind of job the ids name. Only for a full UUID, scenes, a transcript, or an id the answer says is ambiguous.