Saltar al cuntegna

Gemini Omni Flash 1.1 Reference to Video

Integrar

ID dal model google/gemini-omni-flash/v1.1/reference-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/google/gemini-omni-flash/v1.1/reference-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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Questa dumonda: $0,80 800 credits API · ≈ ₽86,06 Lantschar sin questa pagina

Obtegna ina clav API
Google Referenza a video Output 4KInputs da referenzaLipsyncSvelt3–10 sfin a 4k #stylized#transform

Generaziun video versiun 1.1 dirigida da fin a 10 maletgs da referenza e 3 clips curts, cun output da 360p to 4k

Google · Video

Tes emprim resultat vegn qua

Construis ina dumonda sutvart e l'exequescha cun tia clav API. Outputs vegnan copiads en nossa memorisaziun, conservads per adina u 7 dis gratuitamain.

Construir ina dumonda

Ils controls vegnan generads dal schema dal model. Il code e ​​il pretsch s'actualiseschan durant che ti als midas.

•obligatori 88 / 20000

Descripziun dal video che suonda ils meds da referenza en l'input dal model; questas referenzas mantegnan l'urden da la glista.

aspect_ratio standard 16:9

Proporziun d'aspect dal video d'output.

resolution standard 720p

Resoluziun utilisada per il video d'output.

standard 8

Lunghezza dal video d'output, mesirada en secundas.

Avanzà images · reference_video_urls
image_urls
Trametta in datoteca u · fin a 10

URLs da maletgs da referenza per l'inclusiun en il video.

Trametta in datoteca u · fin a 3

Furnescha videos da referenza via URL, cun maximalmain trais entradas e ina limita da durada da diesch secundas per video.

POST /run/google/gemini-omni-flash/v1.1/reference-to-video?wait=20 calculaziun → $0,80
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/google/gemini-omni-flash/v1.1/reference-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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Executar questa dumonda

Tia clav resta en quest browser: ella vegn tramessa mo al Doitong API e memorisada (localStorage) mo sch'ella scheccas Tiar a memoria. Obtegnair ina clav API

Davart Gemini Omni Flash 1.1 Reference to Video

Crea in video a partir d'in prompt textual e da medias da referenza, uschia che ils subjects pon mantegnair lur apparientscha durant il clip. `image_urls` accepta fin a 10 maletgs e `reference_video_urls` fin a 3 videos, mintgin maximalmain diesch secundas. Tscherna 16:9 u 9:16, ina resoluziun da 360p fin a 4k e ina durada da 3 fin a 10 secundas. Ils prompts pon cuntanscher 20000 caracters.

Parameters

Invia u il num canonic u il num nativ, betg omaduas. Nums canonics

NumTip StandardPermess Descripziun
promptobligatori
Tipstring
≤ 20 000 caracters
Descripziun dal video che suonda ils meds da referenza en l'input dal model; questas referenzas mantegnan l'urden da la glista.
image_urlsopziunal images
Tipurl[] · image
≤ 10 elements
URLs da maletgs da referenza per l'inclusiun en il video.
reference_video_urlsopziunal
Tipurl[] · video
≤ 3 elements
Furnescha videos da referenza via URL, cun maximalmain trais entradas e ina limita da durada da diesch secundas per video.
aspect_ratioopziunal
Tipenum
Standard16:9
16:99:16
Proporziun d'aspect dal video d'output.
resolutionopziunal
Tipenum
Standard720p
360p720p1080p4k
Resoluziun utilisada per il video d'output.
durationopziunal
Tipinteger
Standard8
3 – 10
Lunghezza dal video d'output, mesirada en secundas.
obligatori Num canonic, er acceptà

Ils parameters da datotecas acceptan ina URL publica https://, ina URI data: fin a 10 MB u il file_url d'ina chargiada. Datotecas

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "google/gemini-omni-flash/v1.1/reference-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": 800,
    "usd": "0.80",
    "charged": 800,
    "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Tias datotecas, tia decisiunMintga outputs[].url è ina copia en nossa memorisaziun: conservada per adina (pajà per GB-mes) u 7 dis gratuitamain, tenor la configuraziun dal conto u ?storage=.
La medema structura per mintga modeltype, url, content_type, width, height e duration, tant per maletgs sco per video e audio. output è l'object da resultat dal model sez.
Champs da l'output
video
object {url, content_type, file_name, file_size}Video producì dal model.

Dapli models: Referenza a video

Per agents AI: questa pagina sco Markdown è disponibla sut https://doitong.com/rm/developers/models/google/gemini-omni-flash/v1.1/reference-to-video.md. Tut ils models e las guidas: https://doitong.com/developers/llms.txt