Lumaktaw sa nilalaman

Ovi Text to Video

I-integrate

ID ng modelo 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"

Kahilingang ito: $0.20 200 kredito ng API Patakbuhin ito sa page na ito

Kumuha ng API key
Character.AI · video

Dito mapupunta ang iyong unang resulta

Bumuo ng kahilingan sa ibaba at patakbuhin ito gamit ang iyong API key. Kinokopya ang mga output sa aming storage, na pinananatili nang walang hanggan o 7 araw nang libre.

Bumuo ng kahilingan

Ang mga control ay binubuo mula sa schema ng modelo. Nagbabago ang code at presyo habang ina-adjust mo ang mga ito.

•kinakailangan

Mga text instruction na gumagabay sa pagbuo ng video.

resolution default na 992x512

Resolution ng output video na ipinapahayag bilang W:H. Pumili mula sa 512x992, 992x512, 960x512, 512x960, 720x720, o 448x1120.

advanced negative_prompt · audio_negative_prompt · num_inference_steps · seed · enable_safety_checker
default na jitter, bad hands, bl...

Negative prompt na inilalapat sa pagbuo ng video.

default na robotic, muffled, ech...

Negative prompt na tumutukoy sa dapat iwasan sa nabuong audio.

default na 30

Bilang ng step na ginagamit para sa inference.

Seed na ginagawang reproducible ang pagbuo. Ang pagtatakda nito sa None ay random na pumipili ng seed.

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

Patakbuhin ang kahilingang ito

Nananatili ang iyong key sa browser na ito: ipinapadala lamang ito sa Doitong API at sine-save (localStorage) lamang kung pipiliin mo ang Tandaan. Kumuha ng API key

Tungkol sa Ovi Text to Video

Gumagawa ng clip na may tunog mula sa teksto na `prompt`. Pumili sa pitong `resolution` value, kabilang ang 992x512, 512x992, 720x720 at 1120x448. May magkahiwalay na negative prompt para sa video at audio (`negative_prompt`, `audio_negative_prompt`). Ang `num_inference_steps` ay mula 1 hanggang 50 (default 30), at nagbibigay ang `seed` ng mauulit na resulta.

Mga parameter

PangalanUri defaultPinapayagan Paglalarawan
promptkinakailangan
Uristring
Mga text instruction na gumagabay sa pagbuo ng video.
negative_promptopsyonal
Uristring
defaultjitter, bad hands, blur, distortion
Negative prompt na inilalapat sa pagbuo ng video.
num_inference_stepsopsyonal
Uriinteger
default30
1 – 50
Bilang ng step na ginagamit para sa inference.
audio_negative_promptopsyonal
Uristring
defaultrobotic, muffled, echo, distorted
Negative prompt na tumutukoy sa dapat iwasan sa nabuong audio.
seedopsyonal
Uriinteger | null
Seed na ginagawang reproducible ang pagbuo. Ang pagtatakda nito sa None ay random na pumipili ng seed.
resolutionopsyonal
Urienum
default992x512
512x992992x512960x512512x960720x720448x11201120x448
Resolution ng output video na ipinapahayag bilang W:H. Pumili mula sa 512x992, 992x512, 960x512, 512x960, 720x720, o 448x1120.
enable_safety_checkeropsyonal
Uriboolean
defaulttrue
Maaaring luwagan ang screening sa pamamagitan ng pagtatakda ng false, kung awtorisado ang tumatawag.
kinakailangan

Output

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"
  }
}
Ikaw ang pumipili para sa iyong mga fileAng bawat outputs[].url ay kopya sa aming storage: pinananatili nang walang hanggan (sinisingil bawat GB-month) o 7 araw nang libre, ayon sa setting ng iyong account o ?storage=.
Parehong shape sa bawat modelotype, url, content_type, width, height at duration, para sa mga larawan, video at audio. Ang output ay sariling result object ng modelo.
Mga field ng output
video
object {url, content_type, file_name, file_size} | nullVideo file na ginawa sa pagbuo.
seed
integerSeed value na inilapat sa pagbuo.

Higit pang modelo: Text patungong Video

Para sa mga AI agent: nasa Markdown ang pahinang ito sa https://doitong.com/fil/developers/models/ovi.md. Lahat ng modelo at gabay: https://doitong.com/developers/llms.txt