Dža ko lil

RIFE

Integriruj

Modelosko id rife
# 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?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "end_image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

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

Dži $4.68 pe jekh keripe čargeime palal realno labaripen, o aver si irime Phir les kate

Lel API klidin
Open model Kip ko Video #interpolation

Interpolirinel maškar start thaj end fotografija, irindoj maškarutne frejma sar fotografije vaj video

Open model · 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 start_image_url
Čhiv jekh fajl, vaj

E interpolacijakero anglutno kipo — e duj kipesqo jekhto — dino e URL-esqo.

•trubul end_image_url
Čhiv jekh fajl, vaj

E interpolacijakero agorutno kipo — e duj kipesqo dujto — dino e URL-esqo.

Lučhe output_type · output_format · num_frames · fps · include_start · include_end
output_type standardno images

Rezultatosqi selekcija maškar video thaj jekhipen kipa.

output_format standardno jpeg

Kipesqo formato, savo kerel buti numa kana output_type si 'images'.

standardno 1

Ginipen e maškarutne kadronengo, kerde maškar e dine kipa.

standardno 8

Videosqo kadro-frekvencijakero parametari, merime kadronenca pe sekunda thaj kasutime numa kana output_type si 'video'.

POST /run/rife?wait=20 hesab → $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?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "end_image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

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

Kerel maškarutne kadra maškar `start_image_url` thaj `end_image_url`. Čhiv `num_frames` andar 1 dži 64, keci kadra te kerel, thaj alosar `output_type` sar kipo vaj video. Video rezultato si `fps` 1 dži 60; kipo rezultato šaj te avel png vaj jpeg. E start thaj end kipa šaj optionalno te aven andro rezultato.

Parametra

Bičhalav vaj e kanonikano nav vaj e native nav, na duj. Kanonikane nava

NavTip standardnoMuklo Vakeripe
start_image_urltrubul image
Tipurl · image
E interpolacijakero anglutno kipo — e duj kipesqo jekhto — dino e URL-esqo.
end_image_urltrubul end_image
Tipurl · image
E interpolacijakero agorutno kipo — e duj kipesqo dujto — dino e URL-esqo.
output_typeopcionalno
Tipenum
standardnoimages
imagesvideo
Rezultatosqi selekcija maškar video thaj jekhipen kipa.
output_formatopcionalno
Tipenum
standardnojpeg
pngjpeg
Kipesqo formato, savo kerel buti numa kana output_type si 'images'.
num_framesopcionalno
Tipinteger
standardno1
1 – 64
Ginipen e maškarutne kadronengo, kerde maškar e dine kipa.
include_startopcionalno
Tipboolean
standardnofalse
Kontrolinel, te o rezultato si les e startutne kipesa.
include_endopcionalno
Tipboolean
standardnofalse
Kontrolinel, te o rezultato si les e agorutne kipesa.
fpsopcionalno
Tipinteger
standardno8
1 – 60
Videosqo kadro-frekvencijakero parametari, merime kadronenca pe sekunda thaj kasutime numa kana output_type si 'video'.
trubul Kanonikano nav, vi akceptime

Fajloske parametra lel jekh publikano https:// URL, jekh data: URI dži 10 MB, vaj e file_url uploadoski. Fajlura

Rezultato

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "rife",
  "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": {
    "start_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "end_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "output": {
    "images": [
      {
        "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,
        "width": 1024,
        "height": 768
      }
    ],
    "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
images
array of object {url, content_type, file_name, file_size, width, height}Jekhipen kipa save si e kerde kadronengo rezultato.
video
object {url, content_type, file_name, file_size} | nullKerde videosqo fajlo, sikavdo kana output_type si 'video'.

Bute modeli: Kip ko Video

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