Dža ko lil

Infinity Star

Integriruj

Modelosko id infinity-star/text-to-video
# 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/infinity-star/text-to-video?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.07 70 API krediti Phir les kate

Lel API klidin
ByteDance Teksto ko Video #text-to-video

Autoregressive text-to-video le 16:9, 1:1 vaj 9:16 output-eha, negative prompt-eha thaj opcionalno prompt-enhancement-eha

ByteDance · 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

Tekstoske instrukcie përdžarde te kerelpe o video.

aspect_ratio standardno 16:9

Aspect ratio e rezultatoske outputosko.

Lučhe negative_prompt · num_inference_steps · guidance_scale · tau_video · seed · use_apg · enhance_prompt
standardno

Negative promptosko savo phenel so te na avel ande keripe.

standardno 50

Gin inference steps pala te kerel.

standardno 7.5

Guidance-eski scale përdžardi ande keripe.

standardno 0.4

Videoske scale-esko tau value.

Seed përdžardo te reprodukcil rezultaton. Muk les bi-dino te kerelpe randomno.

POST /run/infinity-star/text-to-video?wait=20 hesab → $0.07
# 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/infinity-star/text-to-video?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 Infinity Star

Kerel video tekstoska `prompt`-tar, le `aspect_ratio`-esa 16:9, 1:1 vaj 9:16. Kontrolura si `negative_prompt`, `num_inference_steps` (1 to 100), `guidance_scale` (1 to 40), `tau_video`, thaj `use_apg` toggle. `enhance_prompt` palal si prompto LLM-esa thaj si standardno on. Jekh `seed` šaj te avel fiksirime.

Parametra

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
Tekstoske instrukcie përdžarde te kerelpe o video.
negative_promptopcionalno
Tipstring
standardno
Negative promptosko savo phenel so te na avel ande keripe.
num_inference_stepsopcionalno
Tipinteger
standardno50
1 – 100
Gin inference steps pala te kerel.
guidance_scaleopcionalno
Tipnumber
standardno7.5
1 – 40
Guidance-eski scale përdžardi ande keripe.
tau_videoopcionalno
Tipnumber
standardno0.4
0.1 – 1
Videoske scale-esko tau value.
use_apgopcionalno
Tipboolean
standardnotrue
Aktivizil vaj čhinel APG.
aspect_ratioopcionalno
Tipenum
standardno16:9
16:91:19:16
Aspect ratio e rezultatoske outputosko.
seedopcionalno
Tipinteger | null
Seed përdžardo te reprodukcil rezultaton. Muk les bi-dino te kerelpe randomno.
enhance_promptopcionalno
Tipboolean
standardnotrue
Aktivizil promptosko lačhavipe e LLM-esar.
trubul

Rezultato

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "infinity-star/text-to-video",
  "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": 70,
    "usd": "0.07",
    "charged": 70,
    "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
    }
  },
  "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}Rezultato video fajlo.

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/infinity-star/text-to-video.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt