live
MODEL IDklingai:avatar@2.0-standard

KlingAI Avatar 2.0 Standard

Kling AI
by

KlingAI Avatar 2.0 Standard generates talking avatar videos from a single portrait image and audio, preserving identity and producing natural lip-sync and expressive motion. It supports up to five minutes of video with multilingual control and gesture clarity for human or cartoon characters.

KlingAI Avatar 2.0 Standard

audio-driven-photo-avatar

Volcano Docuseries Teaser Sequence$0.434~3m 53s
Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'klingai:avatar@2.0-standard',
  positivePrompt: 'Create a polished cinematic teaser for a prestige volcanic-science docuseries using the supplied volcanologist portrait and spoken line. Preserve her identity, wardrobe, observatory setting, and centered mid-torso framing. Animate her as a credible field scientist addressing the viewer directly, with precise natural lip synchronization to every word. Begin with controlled stillness and quiet professional focus. On “stopped trembling,” add a slight tightening around the eyes and a nearly imperceptible head tilt. After “That was not relief,” hold a brief grave pause, then let her expression sharpen with restrained concern as she delivers the final warning. Use subtle breathing, occasional natural blinking, minimal shoulder motion, and small realistic head movements; avoid exaggerated gestures or theatrical facial animation. Maintain cold cyan monitor light, deep obsidian shadows, and a restrained pulse of red warning light in the background. The camera should feel locked-off with an extremely slow cinematic push toward her face. As the final word lands, lower the ambient light around her and fade in the clean uppercase series title “THE QUIET CRATER” within the dark negative space, followed by the smaller subtitle “A DOCUMENTARY SERIES.” Refined modern sans-serif typography, pale mineral white, understated spacing, no additional logos, captions, interface elements, or promotional buttons. Ominous, intelligent, scientifically grounded mood; premium streaming-documentary finish.',
  inputs: {
    image: 'https://assets.runware.ai/assets/inputs/59aacb6c-5e88-432b-9b01-a46625ed9c44.jpg',
    audio: 'https://assets.runware.ai/assets/inputs/7fa4f7bf-39ec-44f8-8b3e-611aca2d706f.mp3'
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "klingai:avatar@2.0-standard",
            "positivePrompt": "Create a polished cinematic teaser for a prestige volcanic-science docuseries using the supplied volcanologist portrait and spoken line. Preserve her identity, wardrobe, observatory setting, and centered mid-torso framing. Animate her as a credible field scientist addressing the viewer directly, with precise natural lip synchronization to every word. Begin with controlled stillness and quiet professional focus. On “stopped trembling,” add a slight tightening around the eyes and a nearly imperceptible head tilt. After “That was not relief,” hold a brief grave pause, then let her expression sharpen with restrained concern as she delivers the final warning. Use subtle breathing, occasional natural blinking, minimal shoulder motion, and small realistic head movements; avoid exaggerated gestures or theatrical facial animation. Maintain cold cyan monitor light, deep obsidian shadows, and a restrained pulse of red warning light in the background. The camera should feel locked-off with an extremely slow cinematic push toward her face. As the final word lands, lower the ambient light around her and fade in the clean uppercase series title “THE QUIET CRATER” within the dark negative space, followed by the smaller subtitle “A DOCUMENTARY SERIES.” Refined modern sans-serif typography, pale mineral white, understated spacing, no additional logos, captions, interface elements, or promotional buttons. Ominous, intelligent, scientifically grounded mood; premium streaming-documentary finish.",
            "inputs": {
                "image": "https://assets.runware.ai/assets/inputs/59aacb6c-5e88-432b-9b01-a46625ed9c44.jpg",
                "audio": "https://assets.runware.ai/assets/inputs/7fa4f7bf-39ec-44f8-8b3e-611aca2d706f.mp3"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "videoInference",
      "taskUUID": "38ff35ce-dae8-44c3-8f6e-f08e64180878",
      "model": "klingai:avatar@2.0-standard",
      "positivePrompt": "Create a polished cinematic teaser for a prestige volcanic-science docuseries using the supplied volcanologist portrait and spoken line. Preserve her identity, wardrobe, observatory setting, and centered mid-torso framing. Animate her as a credible field scientist addressing the viewer directly, with precise natural lip synchronization to every word. Begin with controlled stillness and quiet professional focus. On “stopped trembling,” add a slight tightening around the eyes and a nearly imperceptible head tilt. After “That was not relief,” hold a brief grave pause, then let her expression sharpen with restrained concern as she delivers the final warning. Use subtle breathing, occasional natural blinking, minimal shoulder motion, and small realistic head movements; avoid exaggerated gestures or theatrical facial animation. Maintain cold cyan monitor light, deep obsidian shadows, and a restrained pulse of red warning light in the background. The camera should feel locked-off with an extremely slow cinematic push toward her face. As the final word lands, lower the ambient light around her and fade in the clean uppercase series title “THE QUIET CRATER” within the dark negative space, followed by the smaller subtitle “A DOCUMENTARY SERIES.” Refined modern sans-serif typography, pale mineral white, understated spacing, no additional logos, captions, interface elements, or promotional buttons. Ominous, intelligent, scientifically grounded mood; premium streaming-documentary finish.",
      "inputs": {
        "image": "https://assets.runware.ai/assets/inputs/59aacb6c-5e88-432b-9b01-a46625ed9c44.jpg",
        "audio": "https://assets.runware.ai/assets/inputs/7fa4f7bf-39ec-44f8-8b3e-611aca2d706f.mp3"
      }
    }
  ]'
runware run klingai:avatar@2.0-standard \
  positivePrompt="Create a polished cinematic teaser for a prestige volcanic-science docuseries using the supplied volcanologist portrait and spoken line. Preserve her identity, wardrobe, observatory setting, and centered mid-torso framing. Animate her as a credible field scientist addressing the viewer directly, with precise natural lip synchronization to every word. Begin with controlled stillness and quiet professional focus. On “stopped trembling,” add a slight tightening around the eyes and a nearly imperceptible head tilt. After “That was not relief,” hold a brief grave pause, then let her expression sharpen with restrained concern as she delivers the final warning. Use subtle breathing, occasional natural blinking, minimal shoulder motion, and small realistic head movements; avoid exaggerated gestures or theatrical facial animation. Maintain cold cyan monitor light, deep obsidian shadows, and a restrained pulse of red warning light in the background. The camera should feel locked-off with an extremely slow cinematic push toward her face. As the final word lands, lower the ambient light around her and fade in the clean uppercase series title “THE QUIET CRATER” within the dark negative space, followed by the smaller subtitle “A DOCUMENTARY SERIES.” Refined modern sans-serif typography, pale mineral white, understated spacing, no additional logos, captions, interface elements, or promotional buttons. Ominous, intelligent, scientifically grounded mood; premium streaming-documentary finish." \
  inputs.image=https://assets.runware.ai/assets/inputs/59aacb6c-5e88-432b-9b01-a46625ed9c44.jpg \
  inputs.audio=https://assets.runware.ai/assets/inputs/7fa4f7bf-39ec-44f8-8b3e-611aca2d706f.mp3
{
  "taskType": "videoInference",
  "taskUUID": "38ff35ce-dae8-44c3-8f6e-f08e64180878",
  "model": "klingai:avatar@2.0-standard",
  "positivePrompt": "Create a polished cinematic teaser for a prestige volcanic-science docuseries using the supplied volcanologist portrait and spoken line. Preserve her identity, wardrobe, observatory setting, and centered mid-torso framing. Animate her as a credible field scientist addressing the viewer directly, with precise natural lip synchronization to every word. Begin with controlled stillness and quiet professional focus. On “stopped trembling,” add a slight tightening around the eyes and a nearly imperceptible head tilt. After “That was not relief,” hold a brief grave pause, then let her expression sharpen with restrained concern as she delivers the final warning. Use subtle breathing, occasional natural blinking, minimal shoulder motion, and small realistic head movements; avoid exaggerated gestures or theatrical facial animation. Maintain cold cyan monitor light, deep obsidian shadows, and a restrained pulse of red warning light in the background. The camera should feel locked-off with an extremely slow cinematic push toward her face. As the final word lands, lower the ambient light around her and fade in the clean uppercase series title “THE QUIET CRATER” within the dark negative space, followed by the smaller subtitle “A DOCUMENTARY SERIES.” Refined modern sans-serif typography, pale mineral white, understated spacing, no additional logos, captions, interface elements, or promotional buttons. Ominous, intelligent, scientifically grounded mood; premium streaming-documentary finish.",
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/59aacb6c-5e88-432b-9b01-a46625ed9c44.jpg",
    "audio": "https://assets.runware.ai/assets/inputs/7fa4f7bf-39ec-44f8-8b3e-611aca2d706f.mp3"
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "38ff35ce-dae8-44c3-8f6e-f08e64180878",
  "videoUUID": "6a26649c-9cbd-4adf-ae3c-fe5d1a3c6035",
  "videoURL": "https://vm.runware.ai/video/os/a05d22/ws/5/vi/6a26649c-9cbd-4adf-ae3c-fe5d1a3c6035.mp4",
  "cost": 0.434104
}

audio-driven-photo-avatar

Seed Vault Living Emblem$0.199~2m 23s
Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'klingai:avatar@2.0-standard',
  positivePrompt: 'Create a polished living-logo identity sting from the supplied portrait and speech. Preserve the scientist’s identity, wardrobe, centered framing, circular seed emblem, palette, and exact wordmark. She delivers the line directly to camera with precise, natural lip synchronization, a warm restrained smile, one gentle blink, subtle eyebrow expression, realistic breathing, and a small confident head movement. Keep her performance credible and understated, like a trusted conservation expert rather than an actor. Maintain stable facial anatomy and clear eyes throughout. The surrounding seed-and-sprout emblem and NORTHSTAR SEED VAULT lettering remain crisp, fixed, readable, and free from warping while the portrait comes naturally to life. Finish with her returning to the composed forward-facing hero pose so the final frame works as a clean brand hold. Premium contemporary science nonprofit motion identity; calm, hopeful, intelligent mood; no camera shake, no scene change, no additional people.',
  inputs: {
    image: 'https://assets.runware.ai/assets/inputs/935c4aef-46a0-4f03-9d43-34098946ea43.jpg',
    audio: 'https://assets.runware.ai/assets/inputs/161888f2-a5ce-47f0-a933-6d1255aa6fdb.mp3'
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "klingai:avatar@2.0-standard",
            "positivePrompt": "Create a polished living-logo identity sting from the supplied portrait and speech. Preserve the scientist’s identity, wardrobe, centered framing, circular seed emblem, palette, and exact wordmark. She delivers the line directly to camera with precise, natural lip synchronization, a warm restrained smile, one gentle blink, subtle eyebrow expression, realistic breathing, and a small confident head movement. Keep her performance credible and understated, like a trusted conservation expert rather than an actor. Maintain stable facial anatomy and clear eyes throughout. The surrounding seed-and-sprout emblem and NORTHSTAR SEED VAULT lettering remain crisp, fixed, readable, and free from warping while the portrait comes naturally to life. Finish with her returning to the composed forward-facing hero pose so the final frame works as a clean brand hold. Premium contemporary science nonprofit motion identity; calm, hopeful, intelligent mood; no camera shake, no scene change, no additional people.",
            "inputs": {
                "image": "https://assets.runware.ai/assets/inputs/935c4aef-46a0-4f03-9d43-34098946ea43.jpg",
                "audio": "https://assets.runware.ai/assets/inputs/161888f2-a5ce-47f0-a933-6d1255aa6fdb.mp3"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "videoInference",
      "taskUUID": "aca6db57-9eda-4d29-8516-fd3e65fb4571",
      "model": "klingai:avatar@2.0-standard",
      "positivePrompt": "Create a polished living-logo identity sting from the supplied portrait and speech. Preserve the scientist’s identity, wardrobe, centered framing, circular seed emblem, palette, and exact wordmark. She delivers the line directly to camera with precise, natural lip synchronization, a warm restrained smile, one gentle blink, subtle eyebrow expression, realistic breathing, and a small confident head movement. Keep her performance credible and understated, like a trusted conservation expert rather than an actor. Maintain stable facial anatomy and clear eyes throughout. The surrounding seed-and-sprout emblem and NORTHSTAR SEED VAULT lettering remain crisp, fixed, readable, and free from warping while the portrait comes naturally to life. Finish with her returning to the composed forward-facing hero pose so the final frame works as a clean brand hold. Premium contemporary science nonprofit motion identity; calm, hopeful, intelligent mood; no camera shake, no scene change, no additional people.",
      "inputs": {
        "image": "https://assets.runware.ai/assets/inputs/935c4aef-46a0-4f03-9d43-34098946ea43.jpg",
        "audio": "https://assets.runware.ai/assets/inputs/161888f2-a5ce-47f0-a933-6d1255aa6fdb.mp3"
      }
    }
  ]'
runware run klingai:avatar@2.0-standard \
  positivePrompt="Create a polished living-logo identity sting from the supplied portrait and speech. Preserve the scientist’s identity, wardrobe, centered framing, circular seed emblem, palette, and exact wordmark. She delivers the line directly to camera with precise, natural lip synchronization, a warm restrained smile, one gentle blink, subtle eyebrow expression, realistic breathing, and a small confident head movement. Keep her performance credible and understated, like a trusted conservation expert rather than an actor. Maintain stable facial anatomy and clear eyes throughout. The surrounding seed-and-sprout emblem and NORTHSTAR SEED VAULT lettering remain crisp, fixed, readable, and free from warping while the portrait comes naturally to life. Finish with her returning to the composed forward-facing hero pose so the final frame works as a clean brand hold. Premium contemporary science nonprofit motion identity; calm, hopeful, intelligent mood; no camera shake, no scene change, no additional people." \
  inputs.image=https://assets.runware.ai/assets/inputs/935c4aef-46a0-4f03-9d43-34098946ea43.jpg \
  inputs.audio=https://assets.runware.ai/assets/inputs/161888f2-a5ce-47f0-a933-6d1255aa6fdb.mp3
{
  "taskType": "videoInference",
  "taskUUID": "aca6db57-9eda-4d29-8516-fd3e65fb4571",
  "model": "klingai:avatar@2.0-standard",
  "positivePrompt": "Create a polished living-logo identity sting from the supplied portrait and speech. Preserve the scientist’s identity, wardrobe, centered framing, circular seed emblem, palette, and exact wordmark. She delivers the line directly to camera with precise, natural lip synchronization, a warm restrained smile, one gentle blink, subtle eyebrow expression, realistic breathing, and a small confident head movement. Keep her performance credible and understated, like a trusted conservation expert rather than an actor. Maintain stable facial anatomy and clear eyes throughout. The surrounding seed-and-sprout emblem and NORTHSTAR SEED VAULT lettering remain crisp, fixed, readable, and free from warping while the portrait comes naturally to life. Finish with her returning to the composed forward-facing hero pose so the final frame works as a clean brand hold. Premium contemporary science nonprofit motion identity; calm, hopeful, intelligent mood; no camera shake, no scene change, no additional people.",
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/935c4aef-46a0-4f03-9d43-34098946ea43.jpg",
    "audio": "https://assets.runware.ai/assets/inputs/161888f2-a5ce-47f0-a933-6d1255aa6fdb.mp3"
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "aca6db57-9eda-4d29-8516-fd3e65fb4571",
  "videoUUID": "a4818026-46ee-49f2-b739-a189d2321d7f",
  "videoURL": "https://vm.runware.ai/video/os/a10dlim3/ws/5/vi/a4818026-46ee-49f2-b739-a189d2321d7f.mp4",
  "cost": 0.199452
}

audio-driven-photo-avatar

Veterinary Poison Safety Reel$0.422~4m 35s
Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'klingai:avatar@2.0-standard',
  positivePrompt: 'Create a polished short-form social safety reel using the supplied veterinarian portrait and speech. Preserve her identity, navy scrubs, clinical background, cool cyan and electric-violet lighting, and original front-facing upper-body framing. Deliver precise, realistic lip synchronization for every word. Her performance should feel urgent, credible, and compassionate rather than alarmist: steady eye contact, a slight concerned brow as she says “fatal kidney failure,” one restrained head shake on “skip home remedies,” and a small decisive nod on “immediately.” Add natural blinking, subtle breathing, tiny facial muscle movements, and minimal professional head motion. Keep the camera locked and the background stable. Maintain realistic anatomy, teeth, lips, skin texture, and eye direction throughout. No exaggerated gestures, cuts, camera movement, captions, logos, or added people.',
  inputs: {
    image: 'https://assets.runware.ai/assets/inputs/80db5107-96c6-498c-b75d-9cf5fb829d7b.jpg',
    audio: 'https://assets.runware.ai/assets/inputs/703772ab-d801-4936-b062-94f7700e416c.mp3'
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "klingai:avatar@2.0-standard",
            "positivePrompt": "Create a polished short-form social safety reel using the supplied veterinarian portrait and speech. Preserve her identity, navy scrubs, clinical background, cool cyan and electric-violet lighting, and original front-facing upper-body framing. Deliver precise, realistic lip synchronization for every word. Her performance should feel urgent, credible, and compassionate rather than alarmist: steady eye contact, a slight concerned brow as she says “fatal kidney failure,” one restrained head shake on “skip home remedies,” and a small decisive nod on “immediately.” Add natural blinking, subtle breathing, tiny facial muscle movements, and minimal professional head motion. Keep the camera locked and the background stable. Maintain realistic anatomy, teeth, lips, skin texture, and eye direction throughout. No exaggerated gestures, cuts, camera movement, captions, logos, or added people.",
            "inputs": {
                "image": "https://assets.runware.ai/assets/inputs/80db5107-96c6-498c-b75d-9cf5fb829d7b.jpg",
                "audio": "https://assets.runware.ai/assets/inputs/703772ab-d801-4936-b062-94f7700e416c.mp3"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "videoInference",
      "taskUUID": "e07c35d4-1c36-4046-b6e0-40308b7d61e3",
      "model": "klingai:avatar@2.0-standard",
      "positivePrompt": "Create a polished short-form social safety reel using the supplied veterinarian portrait and speech. Preserve her identity, navy scrubs, clinical background, cool cyan and electric-violet lighting, and original front-facing upper-body framing. Deliver precise, realistic lip synchronization for every word. Her performance should feel urgent, credible, and compassionate rather than alarmist: steady eye contact, a slight concerned brow as she says “fatal kidney failure,” one restrained head shake on “skip home remedies,” and a small decisive nod on “immediately.” Add natural blinking, subtle breathing, tiny facial muscle movements, and minimal professional head motion. Keep the camera locked and the background stable. Maintain realistic anatomy, teeth, lips, skin texture, and eye direction throughout. No exaggerated gestures, cuts, camera movement, captions, logos, or added people.",
      "inputs": {
        "image": "https://assets.runware.ai/assets/inputs/80db5107-96c6-498c-b75d-9cf5fb829d7b.jpg",
        "audio": "https://assets.runware.ai/assets/inputs/703772ab-d801-4936-b062-94f7700e416c.mp3"
      }
    }
  ]'
runware run klingai:avatar@2.0-standard \
  positivePrompt="Create a polished short-form social safety reel using the supplied veterinarian portrait and speech. Preserve her identity, navy scrubs, clinical background, cool cyan and electric-violet lighting, and original front-facing upper-body framing. Deliver precise, realistic lip synchronization for every word. Her performance should feel urgent, credible, and compassionate rather than alarmist: steady eye contact, a slight concerned brow as she says “fatal kidney failure,” one restrained head shake on “skip home remedies,” and a small decisive nod on “immediately.” Add natural blinking, subtle breathing, tiny facial muscle movements, and minimal professional head motion. Keep the camera locked and the background stable. Maintain realistic anatomy, teeth, lips, skin texture, and eye direction throughout. No exaggerated gestures, cuts, camera movement, captions, logos, or added people." \
  inputs.image=https://assets.runware.ai/assets/inputs/80db5107-96c6-498c-b75d-9cf5fb829d7b.jpg \
  inputs.audio=https://assets.runware.ai/assets/inputs/703772ab-d801-4936-b062-94f7700e416c.mp3
{
  "taskType": "videoInference",
  "taskUUID": "e07c35d4-1c36-4046-b6e0-40308b7d61e3",
  "model": "klingai:avatar@2.0-standard",
  "positivePrompt": "Create a polished short-form social safety reel using the supplied veterinarian portrait and speech. Preserve her identity, navy scrubs, clinical background, cool cyan and electric-violet lighting, and original front-facing upper-body framing. Deliver precise, realistic lip synchronization for every word. Her performance should feel urgent, credible, and compassionate rather than alarmist: steady eye contact, a slight concerned brow as she says “fatal kidney failure,” one restrained head shake on “skip home remedies,” and a small decisive nod on “immediately.” Add natural blinking, subtle breathing, tiny facial muscle movements, and minimal professional head motion. Keep the camera locked and the background stable. Maintain realistic anatomy, teeth, lips, skin texture, and eye direction throughout. No exaggerated gestures, cuts, camera movement, captions, logos, or added people.",
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/80db5107-96c6-498c-b75d-9cf5fb829d7b.jpg",
    "audio": "https://assets.runware.ai/assets/inputs/703772ab-d801-4936-b062-94f7700e416c.mp3"
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "e07c35d4-1c36-4046-b6e0-40308b7d61e3",
  "videoUUID": "47659d18-0dec-480c-add5-4e28004f8883",
  "videoURL": "https://vm.runware.ai/video/os/a03d21/ws/5/vi/47659d18-0dec-480c-add5-4e28004f8883.mp4",
  "cost": 0.4224
}

audio-driven-photo-avatar

Shellfish Hatchery Sensor Explainer$0.868~5m 14s
Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'klingai:avatar@2.0-standard',
  positivePrompt: 'Create a polished aquaculture product-explainer video from the supplied portrait and speech. The hatchery technician addresses the viewer with precise, realistic lip synchronization throughout. Preserve her identity, clothing, laboratory setting, and the shape of the dissolved-oxygen meter. Use attentive eye contact, natural blinking, subtle head nods, small shifts in expression, and restrained professional gestures toward the meter as she explains the procedure. Her delivery should feel calm, practical, and reassuring, with slightly greater emphasis when discussing declining oxygen and larval stress. Keep the camera locked in a clean front-facing medium portrait. Maintain realistic facial anatomy, stable hands, consistent lighting, and smooth motion suitable for a technical customer-training clip.',
  inputs: {
    image: 'https://assets.runware.ai/assets/inputs/ec08ec72-a1c1-4447-addf-5d49028f0565.jpg',
    audio: 'https://assets.runware.ai/assets/inputs/ef76349a-eae4-48d1-8fad-aa406302c8e4.mp3'
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "klingai:avatar@2.0-standard",
            "positivePrompt": "Create a polished aquaculture product-explainer video from the supplied portrait and speech. The hatchery technician addresses the viewer with precise, realistic lip synchronization throughout. Preserve her identity, clothing, laboratory setting, and the shape of the dissolved-oxygen meter. Use attentive eye contact, natural blinking, subtle head nods, small shifts in expression, and restrained professional gestures toward the meter as she explains the procedure. Her delivery should feel calm, practical, and reassuring, with slightly greater emphasis when discussing declining oxygen and larval stress. Keep the camera locked in a clean front-facing medium portrait. Maintain realistic facial anatomy, stable hands, consistent lighting, and smooth motion suitable for a technical customer-training clip.",
            "inputs": {
                "image": "https://assets.runware.ai/assets/inputs/ec08ec72-a1c1-4447-addf-5d49028f0565.jpg",
                "audio": "https://assets.runware.ai/assets/inputs/ef76349a-eae4-48d1-8fad-aa406302c8e4.mp3"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "videoInference",
      "taskUUID": "ce2a861b-aabe-4a52-848d-de865f5a2feb",
      "model": "klingai:avatar@2.0-standard",
      "positivePrompt": "Create a polished aquaculture product-explainer video from the supplied portrait and speech. The hatchery technician addresses the viewer with precise, realistic lip synchronization throughout. Preserve her identity, clothing, laboratory setting, and the shape of the dissolved-oxygen meter. Use attentive eye contact, natural blinking, subtle head nods, small shifts in expression, and restrained professional gestures toward the meter as she explains the procedure. Her delivery should feel calm, practical, and reassuring, with slightly greater emphasis when discussing declining oxygen and larval stress. Keep the camera locked in a clean front-facing medium portrait. Maintain realistic facial anatomy, stable hands, consistent lighting, and smooth motion suitable for a technical customer-training clip.",
      "inputs": {
        "image": "https://assets.runware.ai/assets/inputs/ec08ec72-a1c1-4447-addf-5d49028f0565.jpg",
        "audio": "https://assets.runware.ai/assets/inputs/ef76349a-eae4-48d1-8fad-aa406302c8e4.mp3"
      }
    }
  ]'
runware run klingai:avatar@2.0-standard \
  positivePrompt="Create a polished aquaculture product-explainer video from the supplied portrait and speech. The hatchery technician addresses the viewer with precise, realistic lip synchronization throughout. Preserve her identity, clothing, laboratory setting, and the shape of the dissolved-oxygen meter. Use attentive eye contact, natural blinking, subtle head nods, small shifts in expression, and restrained professional gestures toward the meter as she explains the procedure. Her delivery should feel calm, practical, and reassuring, with slightly greater emphasis when discussing declining oxygen and larval stress. Keep the camera locked in a clean front-facing medium portrait. Maintain realistic facial anatomy, stable hands, consistent lighting, and smooth motion suitable for a technical customer-training clip." \
  inputs.image=https://assets.runware.ai/assets/inputs/ec08ec72-a1c1-4447-addf-5d49028f0565.jpg \
  inputs.audio=https://assets.runware.ai/assets/inputs/ef76349a-eae4-48d1-8fad-aa406302c8e4.mp3
{
  "taskType": "videoInference",
  "taskUUID": "ce2a861b-aabe-4a52-848d-de865f5a2feb",
  "model": "klingai:avatar@2.0-standard",
  "positivePrompt": "Create a polished aquaculture product-explainer video from the supplied portrait and speech. The hatchery technician addresses the viewer with precise, realistic lip synchronization throughout. Preserve her identity, clothing, laboratory setting, and the shape of the dissolved-oxygen meter. Use attentive eye contact, natural blinking, subtle head nods, small shifts in expression, and restrained professional gestures toward the meter as she explains the procedure. Her delivery should feel calm, practical, and reassuring, with slightly greater emphasis when discussing declining oxygen and larval stress. Keep the camera locked in a clean front-facing medium portrait. Maintain realistic facial anatomy, stable hands, consistent lighting, and smooth motion suitable for a technical customer-training clip.",
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/ec08ec72-a1c1-4447-addf-5d49028f0565.jpg",
    "audio": "https://assets.runware.ai/assets/inputs/ef76349a-eae4-48d1-8fad-aa406302c8e4.mp3"
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "ce2a861b-aabe-4a52-848d-de865f5a2feb",
  "videoUUID": "d991e4ea-df04-4a0c-b40d-3e2ae47a3a44",
  "videoURL": "https://vm.runware.ai/video/os/a04d20/ws/5/vi/d991e4ea-df04-4a0c-b40d-3e2ae47a3a44.mp4",
  "cost": 0.868252
}