Peke ki ngā ihirangi

RIFE · Video

Whakauru

id tauira rife/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/rife/video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

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

Tae atu ki te $ 4.68 mō ia whakahaerenga ka utua mō te whakamahinga tūturu, ka whakahokia te toenga Whakahaerehia ki tēnei whārangi

Tikina he kī API
Open model Ataata ki te Ataata #interpolation

Ka whakanuia te auau anga o tētahi ataata tāuru mā te tuitui i ngā anga 1 ki te 4 ki waenganui i ngā anga o mua

Open model · Ataata

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana video_url
Whakataka he kōnae,

He URL e tohu ana ki te ataata e whakamahia ana mō te whakapiri.

Arā atu num_frames · fps · use_scene_detection · use_calculated_fps · loop
taunoa 1

Te maha o ngā anga hōu ka whakaputaina i waenga i ngā anga o te ataata tāuru.

taunoa 8

Te tautuhinga tere anga ka whakamahia anake ina tautuhia te use_calculated_fps ki False, e tohu ana i te maha o ngā anga ka whakaarihia e te ataata putanga ia hēkona.

POST /run/rife/video?wait=20 utu → $ 4.68
# 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/rife/video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

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

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō RIFE · Video

Ka tango i tētahi ataata mā `video_url`, ka whakauru `num_frames` anga hou (1 ki te 4) ki waenganui i ia takirua anga taketake. Mā `use_scene_detection` e wāwāhi te topenga i ngā tapahanga whakaaturanga kia kore ai e pōkarekare ngā anga, mā `loop` e hanumi te anga whakamutunga ki te tuatahi, ā, mā `fps` e whakarite te auau putanga ā-ringa ina whakawetohia `use_calculated_fps`.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
video_urle hiahiatia ana video
Momourl · video
He URL e tohu ana ki te ataata e whakamahia ana mō te whakapiri.
num_frameskōwhiringa
Momointeger
Taunoa1
1 – 4
Te maha o ngā anga hōu ka whakaputaina i waenga i ngā anga o te ataata tāuru.
use_scene_detectionkōwhiringa
Momoboolean
Taunoafalse
Te whakahaere taitapa tirohanga mō te whakapiri: mā False e pupuri te ataata katoa hei tirohanga kotahi, mā True e rapu ngā tirohanga ka wāwāhi i mua i te whakapiri. Mā te wāwāhi ka whakakore ngā anga whakawhitinga kua pania, engari ka puta pea ngā kitenga hē mēnā kāore i tika te rapu.
use_calculated_fpskōwhiringa
Momoboolean
Taunoatrue
Pūtake tere anga putanga: ka whakamahia te FPS kua tukuna ina False, ā, mā True e whakakapi ki te FPS o te ataata tāuru kua tātaihia, kua whakareatia ki te tatau anga.
fpskōwhiringa
Momointeger
Taunoa8
1 – 60
Te tautuhinga tere anga ka whakamahia anake ina tautuhia te use_calculated_fps ki False, e tohu ana i te maha o ngā anga ka whakaarihia e te ataata putanga ia hēkona.
loopkōwhiringa
Momoboolean
Taunoafalse
Ka whakahaere mēnā ka hangaia he koropiko rere tonu mā te hoki mai i te anga whakamutunga ki te anga tuatahi: mā True tēnei hoki e whakahohe, ā, mā False e monokia.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "rife/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": 4680,
    "usd": "4.68",
    "charged": 4680,
    "refunded": 0
  },
  "input": {
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "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"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
video
object {url, content_type, file_name, file_size}Te kōnae ataata putanga kei roto ngā anga kua whakapiria.

Ētahi atu tauira: Ataata ki te Ataata

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/rife/video.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt