subclip-avatar-generation
Generate a persistent talking-avatar video with Subclip AI from a saved avatar, a Subclip AI Actor, or a project portrait, speaking a typed script or supplied speech audio. Also saves custom avatars. Use for presenter, spokesperson, UGC or character avatar requests that should appear in AI Assets.
Subclip Video Avatar Generation
Follow $subclip-ai-generation for quota, credits, async completion, history, import, and deletion.
Choose who appears
- Call
list_ai_avatars. It returns the user's saved avatars (custom presenters with looks) and Subclip AI Actors. Every actor has the same looks:home,selfie,greenscreen-vertical(9:16) andoffice,desk,side(45° second camera),greenscreen-horizontal(16:9). Match the look's aspect ratio to the project. - Pass the choice to
generate_ai_mediaasavatar: { actorId, lookId }oravatar: { avatarId, lookId }. Do not also attach a portrait image. - To use a portrait that is already in the project instead, resolve it with
list_editor_assetsand pass it insourceAssetswith rolereference. - To keep a presenter for later, call
create_ai_avatarwith a project image (sourceFileId) or an AI Actor copy (actorId) and a name, withconfirmed: trueonly when the user asked to save it. Saved avatars sync with subclip.app.
Choose what they say
- Script: pass
speech: { text, modelId, voiceId, languageCode }. GetmodelIdand the stablevoiceIdfromlist_ai_voices(expanded models such as ElevenLabs, Gemini, MiniMax, Inworld TTS 2, or the user's saved voices withsubclip-voice-clone). An actor'sdefaultVoiceis a good default. The server speaks the script, then animates the avatar in the same job, so nothing is lost if the editor reloads. - Supplied audio: attach a speech track in
sourceAssetswith roleaudio_referenceand omitspeech. promptalways describes movement and expression, never the spoken words.
Models and credits
Call list_ai_models with kind: avatar and choose an available model. Pruna AI P-Video Avatar is the default and most affordable; HeyGen Avatar IV, Kling Avatar v2 and OmniHuman 1.5 animate a portrait with speech; Kling Lip Sync needs an existing video plus audio. Read model selection and pricing. A script's credits are the voiceover plus the video at the voiceover's length; the server reserves a padded estimate and settles at the real length.
Avatar creation is asynchronous. After the operation is accepted, preserve its operation ID and end the turn without polling. Import the completed result as a normal MediaPanel video.
- Downloads
- 83All time
- Security audit
- Pass
- Last updated
- 2d ago
- Current version
- v1.0.0
- License
- MIT-0
