Dža ko lil

Davinci Magihuman

Integriruj

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

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

Kava mangipen: $0.25 250 API krediti Phir les kate

Lel API klidin
Sand AI Kip ko Video 1–30 sdži 1080p #animation#lip-sync

Image-to-video sinhronizirime audioja thaj lip-syncesa, rezolucije andar 256p dži 1080p, dži ko 30 sekunde

Sand AI · Video

Tiro prvo rezultato si kate

Ker tele jekh mangipen thaj phir les tire API klidinosa. E rezultatur si kopirime amare arakhipneste, vično vaj 7 dives bilačhes.

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

•trubul

Tekstune instrukcije save phenel so o video te lel andre.

•trubul image_url
Čhiv jekh fajl, vaj

Referentno kiposko URL upotreblomo te kerel video katar kipo.

resolution standardno 256p

Rezolucija e rezultatoski, kaj `1080p`, `540p`, thaj `720p` keren bući e maj tikne officialo base-model plus 1080p super-resolution pipeline-esa; duj palune downsample-ine lesko rezultato pe mangli size. Opcija `256p` džal aver katar officialo 448x256 base-model drom.

standardno 5

Dĺžka e rezultato-videoski, merimen ande sekunda.

Lučhe audio · num_inference_steps · guidance_scale · seed · enable_safety_checker
audio_url
Čhiv jekh fajl, vaj

Driving audio vaš lipsync mode, lel pes katar o prompto, a vaj dines optionalo audio URL.

Gendo e denoising stepengo, standardno 8 pe 256p vaj 32 pe 540p/720p/1080p vaš base + SR pipeline.

standardno 5

Zor e classifier-free guidance-ki.

Seed savo kontrolinel e slučajnost vaš ponovljive rezultatora.

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

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

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal Davinci Magihuman

Animirinel referentnikano `image_url` pala jek `prompt`, vakeripnasa thaj mujenge motiona. De `audio_url` vaš lip-sync tire audioha; te na, audio si generirime katar prompto. `duration` si 1 dži 30 sekunda thaj `resolution` si 256p, 540p, 720p vaj 1080p.

Parametra

Bičhalav vaj e kanonikano nav vaj e native nav, na duj. Kanonikane nava

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
Tekstune instrukcije save phenel so o video te lel andre.
image_urltrubul image
Tipurl · image
Referentno kiposko URL upotreblomo te kerel video katar kipo.
audio_urlopcionalno audio
Tipurl · audio
Driving audio vaš lipsync mode, lel pes katar o prompto, a vaj dines optionalo audio URL.
durationopcionalno
Tipinteger
standardno5
1 – 30
Dĺžka e rezultato-videoski, merimen ande sekunda.
resolutionopcionalno
Tipenum
standardno256p
256p540p720p1080p
Rezolucija e rezultatoski, kaj `1080p`, `540p`, thaj `720p` keren bući e maj tikne officialo base-model plus 1080p super-resolution pipeline-esa; duj palune downsample-ine lesko rezultato pe mangli size. Opcija `256p` džal aver katar officialo 448x256 base-model drom.
num_inference_stepsopcionalno
Tipinteger | null
1 – 50
Gendo e denoising stepengo, standardno 8 pe 256p vaj 32 pe 540p/720p/1080p vaš base + SR pipeline.
guidance_scaleopcionalno
Tipnumber
standardno5
0 – 20
Zor e classifier-free guidance-ki.
seedopcionalno
Tipinteger | null
Seed savo kontrolinel e slučajnost vaš ponovljive rezultatora.
enable_safety_checkeropcionalno
Tipboolean
standardnotrue
Sigurnostone screening e promptosko thaj e inputoske kiposko kana si aktivno.
trubul Kanonikano nav, vi akceptime

Fajloske parametra lel jekh publikano https:// URL, jekh data: URI dži 10 MB, vaj e file_url uploadoski. Fajlura

Rezultato

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "davinci-magihuman",
  "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": 250,
    "usd": "0.25",
    "charged": 250,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "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
  },
  "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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
video
object {url, content_type, file_name, file_size}Kerdo video sinhronizirime audiosa.
seed
integerSeed-valoro aplikovano ko generiripe.

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/davinci-magihuman.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt