Neidio i'r cynnwys

Ovi Text to Video

Integreiddio

ID y model 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"

Y cais hwn: $0.20 200 o gredydau API Ei redeg ar y dudalen hon

Cael allwedd API
Character.AI Testun i Fideo

Model testun-i-fideo sy’n cynhyrchu fideo ynghyd â’i drac sain

Character.AI · Fideo

Mae eich canlyniad cyntaf yn mynd yma

Adeiladwch gais isod a'i redeg gyda'ch allwedd API. Mae allbynnau'n cael eu copïo i'n storio, wedi'u cadw am byth neu am 7 diwrnod am ddim.

Adeiladu cais

Cynhyrchir rheolyddion o sgema'r model. Mae'r cod a'r pris yn diweddaru wrth i chi eu newid.

•gofynnol

Cyfarwyddiadau testun sy'n arwain cynhyrchu fideo.

resolution rhagosodedig 992x512

Cydraniad y fideo allbwn wedi'i fynegi fel W:H. Dewiswch o 512x992, 992x512, 960x512, 512x960, 720x720, neu 448x1120.

Uwch negative_prompt · audio_negative_prompt · num_inference_steps · seed · enable_safety_checker
rhagosodedig jitter, bad hands, bl...

Anogiad negyddol a gymhwysir wrth gynhyrchu fideo.

rhagosodedig robotic, muffled, ech...

Anogiad negyddol sy'n nodi beth i'w osgoi mewn sain a gynhyrchir.

rhagosodedig 30

Nifer y camau a ddefnyddir ar gyfer casglu.

Hadau sy'n gwneud cynhyrchu'n atgynhyrchadwy. Mae ei osod i None yn dewis hedyn ar hap.

POST /run/ovi?wait=20 dyfynbris → $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"

Rhedeg y cais hwn

Mae'ch allwedd yn aros yn y porwr hwn: caiff ei hanfon at Doitong API yn unig a'i chadw (localStorage) dim ond os ticiwch Cofio. Cael allwedd API

Ynglŷn â Ovi Text to Video

Yn creu clip gyda sain o `prompt` testun. Dewiswch o blith saith gwerth `resolution`, gan gynnwys 992x512, 512x992, 720x720 a 1120x448. Mae anogwyr negyddol ar wahân ar gyfer fideo a sain (`negative_prompt`, `audio_negative_prompt`). Mae `num_inference_steps` yn amrywio o 1 i 50 (rhagosodiad 30), ac mae `seed` yn galluogi canlyniadau ailadroddadwy.

Paramedrau

EnwMath RhagosodedigCaniateir Disgrifiad
promptgofynnol
Mathstring
Cyfarwyddiadau testun sy'n arwain cynhyrchu fideo.
negative_promptdewisol
Mathstring
Rhagosodedigjitter, bad hands, blur, distortion
Anogiad negyddol a gymhwysir wrth gynhyrchu fideo.
num_inference_stepsdewisol
Mathinteger
Rhagosodedig30
1 – 50
Nifer y camau a ddefnyddir ar gyfer casglu.
audio_negative_promptdewisol
Mathstring
Rhagosodedigrobotic, muffled, echo, distorted
Anogiad negyddol sy'n nodi beth i'w osgoi mewn sain a gynhyrchir.
seeddewisol
Mathinteger | null
Hadau sy'n gwneud cynhyrchu'n atgynhyrchadwy. Mae ei osod i None yn dewis hedyn ar hap.
resolutiondewisol
Mathenum
Rhagosodedig992x512
512x992992x512960x512512x960720x720448x11201120x448
Cydraniad y fideo allbwn wedi'i fynegi fel W:H. Dewiswch o 512x992, 992x512, 960x512, 512x960, 720x720, neu 448x1120.
enable_safety_checkerdewisol
Mathboolean
Rhagosodedigtrue
Gellir llacio'r sgrinio drwy osod false, ar yr amod bod y galwr wedi'i awdurdodi.
gofynnol

Allbwn

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"
  }
}
Eich ffeiliau, eich dewisMae pob outputs[].url yn gopi ar ein storio: wedi'i gadw am byth (telir fesul GB-mis) neu am 7 diwrnod am ddim, yn ôl gosodiad eich cyfrif neu ?storage=.
Yr un siâp ar bob modeltype, url, content_type, width, height a duration, ar gyfer delweddau, fideo a sain fel ei gilydd. Gwrthrych canlyniad y model ei hun yw output.
Meysydd yr allbwn
video
object {url, content_type, file_name, file_size} | nullFfeil fideo a gynhyrchir.
seed
integerGwerth hedyn a gymhwysir wrth gynhyrchu.

Mwy o fodelau: Testun i Fideo

Ar gyfer asiantau AI: mae'r dudalen hon fel Markdown ar gael yn https://doitong.com/cy/developers/models/ovi.md. Pob model a chanllaw: https://doitong.com/developers/llms.txt