Pāriet uz saturu

Ovi Text to Video

Integrēt

Modeļa id ovi
# 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/ovi?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"
  }'

# 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"

Šis pieprasījums: 0,20 $ 200 API kredītu Izpildīt šajā lapā

Iegūt API atslēgu
Character.AI Teksts uz video

Teksta pārveidošanas video modelis, kas ģenerē video kopā ar audio celiņu

Character.AI · Video

Šeit būs jūsu pirmais rezultāts

Izveidojiet pieprasījumu tālāk un izpildiet to ar savu API atslēgu. Izvades tiek kopētas mūsu krātuvē un glabātas mūžīgi vai 7 dienas bez maksas.

Izveidot pieprasījumu

Vadīklas tiek ģenerētas no modeļa shēmas. Kods un cena tiek atjaunināti, kad tos maināt.

•obligāts

Teksta norādes video ģenerēšanai.

resolution noklusējums 992x512

Izvades video izšķirtspēja W:H formātā. Izvēlieties 512x992, 992x512, 960x512, 512x960, 720x720 vai 448x1120.

Papildu negative_prompt · audio_negative_prompt · num_inference_steps · seed · enable_safety_checker
noklusējums jitter, bad hands, bl...

Negatīvā uzvedne, kas tiek lietota video ģenerēšanas laikā.

noklusējums robotic, muffled, ech...

Negatīva uzvedne, kas norāda, no kā izvairīties ģenerētajā audio.

noklusējums 30

Secināšanai izmantoto soļu skaits.

Sēkla, kas padara ģenerēšanu atkārtojamu. Iestatot None, sēkla tiek izvēlēta nejauši.

POST /run/ovi?wait=20 cena → 0,20 $
# 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/ovi?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"
  }'

# 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"

Palaist šo pieprasījumu

Jūsu atslēga paliek šajā pārlūkprogrammā: tā tiek nosūtīta tikai uz Doitong API un saglabāta (localStorage) tikai tad, ja atzīmējat Atcerēties. Iegūt API atslēgu

Par Ovi Text to Video

Izveido klipu ar skaņu no teksta `prompt`. Izvēlieties vienu no septiņām `resolution` vērtībām, tostarp 992x512, 512x992, 720x720 un 1120x448. Video un audio ir atsevišķas negatīvās uzvednes (`negative_prompt`, `audio_negative_prompt`). `num_inference_steps` ir no 1 līdz 50 (noklusējuma vērtība 30), bet `seed` nodrošina atkārtojamus rezultātus.

Parametri

NosaukumsTips NoklusējumsAtļauts Apraksts
promptobligāts
Tipsstring
Teksta norādes video ģenerēšanai.
negative_promptneobligāts
Tipsstring
Noklusējumsjitter, bad hands, blur, distortion
Negatīvā uzvedne, kas tiek lietota video ģenerēšanas laikā.
num_inference_stepsneobligāts
Tipsinteger
Noklusējums30
1 – 50
Secināšanai izmantoto soļu skaits.
audio_negative_promptneobligāts
Tipsstring
Noklusējumsrobotic, muffled, echo, distorted
Negatīva uzvedne, kas norāda, no kā izvairīties ģenerētajā audio.
seedneobligāts
Tipsinteger | null
Sēkla, kas padara ģenerēšanu atkārtojamu. Iestatot None, sēkla tiek izvēlēta nejauši.
resolutionneobligāts
Tipsenum
Noklusējums992x512
512x992992x512960x512512x960720x720448x11201120x448
Izvades video izšķirtspēja W:H formātā. Izvēlieties 512x992, 992x512, 960x512, 512x960, 720x720 vai 448x1120.
enable_safety_checkerneobligāts
Tipsboolean
Noklusējumstrue
Pārbaudi var atslābināt, iestatot false, ja izsaucējam ir atļauja.
obligāts

Izvade

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ovi",
  "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": 200,
    "usd": "0.20",
    "charged": 200,
    "refunded": 0
  },
  "input": {
    "prompt": "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
  },
  "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"
  }
}
Jūsu faili, jūsu izvēleKatrs outputs[].url ir kopija mūsu krātuvē: tiek glabāta mūžīgi (maksa par GB mēnesī) vai 7 dienas bez maksas — atbilstoši konta iestatījumam vai ?storage=.
Vienāda struktūra katram modelimtype, url, content_type, width, height un duration gan attēliem, gan video un audio. output ir paša modeļa rezultāta objekts.
Izvades lauki
video
object {url, content_type, file_name, file_size} | nullĢenerēšanas rezultātā iegūtais video fails.
seed
integerĢenerēšanas laikā lietotā sēklas vērtība.

Vairāk modeļu: Teksts uz video

AI aģentiem: šī lapa Markdown formātā ir pieejama https://doitong.com/lv/developers/models/ovi.md. Visi modeļi un ceļveži: https://doitong.com/developers/llms.txt