Dža ko lil

CogVideoX-5B

Integriruj

Modelosko id cogvideox-5b
# 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/cogvideox-5b?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"

Kava mangipen: $0.20 200 API krediti Phir les kate

Lel API klidin
Zhipu AI Teksto ko Video

Tekstos-dži-video generacija le CogVideoX-5B-esa, LoRA podporasa thaj paruvabile frame-rate-esa

Zhipu 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

Prompto upotreblomo sar baza e videoske keripnaske.

Lučhe negative_prompt · video_size · num_inference_steps · guidance_scale · export_fps · seed · use_rife · enable_safety_checker · loras
standardno

Negative prompto vaš video keripe.

video_size standardno {"height":480,"width"...

Dimenzije e kerde videoske.

standardno 50

Gin inference steps pala te kerel.

standardno 7

Promptoski sledba kana o modelo rodėl jek phandino video vaš sikavipen, exprimime CFG scale-sa (Classifier Free Guidance).

standardno 16

Mangli frekvencija e kadronqi andar o video, ande FPS.

Seed vaš repetibilno video keripe. Egzakto reprodukcia pe sa keripena mangel isto modelesko version, prompto thaj seed.

standardno []

Dena jek LoRA vaš kipo keripe; buter LoRA na si akana poddržime.

POST /run/cogvideox-5b?wait=20 hesab → $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/cogvideox-5b?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"

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 CogVideoX-5B

Kerel skurto video katar teksto `prompt`. Alosar preset `video_size` sar square_hd vaj landscape_16_9, setin `num_inference_steps` (1 dži 50) thaj `guidance_scale` (0 dži 20), thaj thov jekh `negative_prompt`. `export_fps` džal katar 4 dži 32, RIFE interpolacija si aktivno standardno, thaj šaj te aplicinel jekh LoRA.

Parametra

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
Prompto upotreblomo sar baza e videoske keripnaske.
video_sizeopcionalno
Tipobject
standardno{"height":480,"width":720}
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Dimenzije e kerde videoske.
negative_promptopcionalno
Tipstring
standardno
Negative prompto vaš video keripe.
lorasopcionalno
Tipobject[]
standardno[]
Dena jek LoRA vaš kipo keripe; buter LoRA na si akana poddržime.
loras[].pathtrubul
Tipstring
Lokacia e LoRA vazipnaski, specifikime sar URL vaj drom.
loras[].scaleopcionalno
Tipnumber
standardno1
0 – 4
Multiplikator dino e LoRA vazipnaske anglal mergipen ande o bazno modelo.
num_inference_stepsopcionalno
Tipinteger
standardno50
1 – 50
Gin inference steps pala te kerel.
seedopcionalno
Tipinteger | null
Seed vaš repetibilno video keripe. Egzakto reprodukcia pe sa keripena mangel isto modelesko version, prompto thaj seed.
guidance_scaleopcionalno
Tipnumber
standardno7
0 – 20
Promptoski sledba kana o modelo rodėl jek phandino video vaš sikavipen, exprimime CFG scale-sa (Classifier Free Guidance).
use_rifeopcionalno
Tipboolean
standardnotrue
Aktivisarel video interpolacia RIFE-sa.
export_fpsopcionalno
Tipinteger
standardno16
4 – 32
Mangli frekvencija e kadronqi andar o video, ande FPS.
enable_safety_checkeropcionalno
Tipboolean
standardnotrue
Screening šaj te avel relaksirime te postavil pes false, numa kana o manglo si autorizuime.
trubul

Rezultato

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "cogvideox-5b",
  "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
    },
    "timings": {},
    "seed": 42,
    "prompt": "string"
  },
  "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}URL savo sikavel o kerdo video.
timings
object
seed
integerČačutno seed upotreblomo vaš video keripe, andre lenca random alosarime valo kana o inputo na dino seed. Averčhanes, si sajekh e inputoske seedesa.
prompt
stringPrompto upotreblomo vaš video keripe.

Bute modeli: Teksto ko Video

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