Preskoči na vsebino

Flashhead

Integracija

ID modela flashhead
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/flashhead?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/avatar/talking_avatar.jpg",
    "text": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Ta zahteva: ≈0,068 $ 68 API kreditov · ≈ 7,17 ₽ Zaženi na tej strani

Pridobi ključ API
Open model Sinhronizacija ustnic in avatarji Sinhronizacija ustnic #portrait#video#streaming#real-time

Iz slike obraza in vnesenega besedila ustvari videoposnetek govoreče glave z izbranim sintetičnim glasom

Open model · Videoposnetek

Tukaj bo vaš prvi rezultat

Spodaj sestavite zahtevo in jo zaženite s svojim ključem API. Izhodi se kopirajo v našo shrambo, kjer se hranijo za vedno ali 7 dni brezplačno.

Ustvari zahtevo

Kontrolniki se ustvarijo iz sheme modela. Koda in cena se posodobita, ko ju spreminjate.

•obvezno

Besedilo za sintezo govora z ElevenLabs.

•obvezno image_url
Spustite datoteko ali

Referenca obraza, posredovana kot URL slike; priporočljiv je portret.

Napredno voice · stability · seed
privzeto Aria

Ime glasu iz ElevenLabs.

privzeto 0.5

Nastavitev stabilnosti glasu v razponu od 0 do 1.

Seme, ki nadzoruje naključnost za ponovljive rezultate.

POST /run/flashhead?wait=20 cena → 0,068 $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/flashhead?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/avatar/talking_avatar.jpg",
    "text": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Zaženi to zahtevo

Vaš ključ ostane v tem brskalniku: pošlje se samo v Doitong API in shrani v localStorage samo, če označite možnost Zapomni si. Pridobi ključ API

O modelu Flashhead

Animira portret iz `image_url`, tako da izgovori niz, podan v `text`. Govor se sintetizira samodejno, izberete pa lahko `voice` (privzeto Aria) in vrednost `stability` med 0 in 1. Izhod je videoposnetek 512x512 z usklajenimi gibi ustnic pri 25 FPS, `seed` pa omogoča ponovljive izvedbe.

Parametri

Pošlji kanonično ali izvorno ime, ne obeh. Kanonična imena

ImeVrsta PrivzetoDovoljeno Opis
image_urlobvezno image
Vrstaurl · image
Referenca obraza, posredovana kot URL slike; priporočljiv je portret.
textobvezno
Vrstastring
Besedilo za sintezo govora z ElevenLabs.
voiceneobvezno
Vrstaenum
PrivzetoAria
AriaRogerSarahLauraCharlieGeorgeCallumRiverLiamCharlotteAliceMatildaWillJessicaEricChris
+4 večBrianDanielLilyBill
Ime glasu iz ElevenLabs.
stabilityneobvezno
Vrstanumber
Privzeto0.5
0 – 1
Nastavitev stabilnosti glasu v razponu od 0 do 1.
seedneobvezno
Vrstainteger | null
Seme, ki nadzoruje naključnost za ponovljive rezultate.
obvezno Kanonično ime, prav tako sprejeto

Parametri datotek sprejmejo javni https:// URL, podatkovni URI data: do 10 MB ali file_url naložene datoteke. Datoteke

Izhod

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "flashhead",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 68,
    "usd": "0.068",
    "charged": 68,
    "refunded": 0
  },
  "input": {
    "image_url": "https://content.doitong.com/images/showcase/v3/avatar/talking_avatar.jpg",
    "text": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    },
    "seed": 42,
    "duration": 5,
    "timings": {}
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Vaše datoteke, vaša izbiraVsak outputs[].url je kopija v naši shrambi: hrani se za vedno (plačilo na GB-mesec) ali 7 dni brezplačno, glede na nastavitev računa ali ?storage=.
Enaka struktura pri vsakem modelutype, url, content_type, width, height in duration za slike, videoposnetke in zvok. output je lasten objekt rezultata modela.
Polja izhoda
video
object {url, content_type, file_name, file_size}Izhodni video avatarja s sinhronizacijo ustnic, velikosti 512x512 pri 25 FPS.
seed
integerVrednost semena, uporabljena pri generiranju.
duration
numberDolžina videa, merjena v sekundah.
timings
objectRazčlenitev časovnih podatkov.

Za agente AI: ta stran je v obliki Markdown na voljo na https://doitong.com/sl/developers/models/flashhead.md. Vsi modeli in vodniki: https://doitong.com/developers/llms.txt