Saltar al cuntegna

LongCat Video Distilled · Image to Video · 480p

Integrar

ID dal model longcat-video/distilled/image-to-video/480p
# 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/longcat-video/distilled/image-to-video/480p?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"
  }'

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

Datotecas sco l'exempel: $0,054 54 credits API · ≈ ₽5,79 tias datotecas vegnan mesiradas avant l'execuziun Lantschar sin questa pagina

Obtegna ina clav API
Meituan · 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.

standard First-person view fro...

Prompt che dirigia la generaziun video.

•obligatori image_url
Trametta in datoteca u

URL dal maletg da funtauna per la generaziun video.

standard 162

Dumber da frames per l'output generà.

Avanzà video_output_type · video_quality · video_write_mode · num_inference_steps · fps · seed · enable_prompt_expansion · enable_safety_checker
video_output_type standard X264 (.mp4)

Tip d'output dal video resultà.

video_quality standard high

Nivel da qualitad dal video resultà.

video_write_mode standard balanced

Modus da scriver per il video resultà.

standard 12

Dumber da pass d'inferenza exequids.

standard 15

Frame rate dal video d'output.

Valur da seed che inizialisescha la generaziun da nums casuals.

POST /run/longcat-video/distilled/image-to-video/480p?wait=20 calculaziun → $0,054
# 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/longcat-video/distilled/image-to-video/480p?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"
  }'

# 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 LongCat Video Distilled · Image to Video · 480p

Ina versiun distillada che anima in maletg cun bler main pass: `num_inference_steps` ha per standard 12 ed è da 2 fin 16. `num_frames` è da 17 fin 961 (standard 162) a 15 fps per standard. Ella n’ha ni prompt negativ ni configuraziun da guida. Ils formats d’output èn mp4, webm, ProRes mov u GIF.

Parameters

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

NumTip StandardPermess Descripziun
image_urlobligatori image
Tipurl · image
URL dal maletg da funtauna per la generaziun video.
promptopziunal
Tipstring
StandardFirst-person view from the cockpit of a Formula 1 car. The driver's gloved hands firmly grip the intricate, carbon-fiber steering wheel adorned with numerous colorful buttons and a vibrant digital display showing race data. Beyond the windshield, a sun-drenched racetrack stretches ahead, lined with cheering spectators in the grandstands. Several rival cars are visible in the distance, creating a dynamic sense of competition. The sky above is a clear, brilliant blue, reflecting the exhilarating atmosphere of a high-speed race. high resolution 4k
Prompt che dirigia la generaziun video.
num_framesopziunal
Tipinteger
Standard162
17 – 961
Dumber da frames per l'output generà.
num_inference_stepsopziunal
Tipinteger
Standard12
2 – 16
Dumber da pass d'inferenza exequids.
fpsopziunal
Tipinteger
Standard15
1 – 60
Frame rate dal video d'output.
seedopziunal
Tipinteger | null
Valur da seed che inizialisescha la generaziun da nums casuals.
enable_prompt_expansionopziunal
Tipboolean
Standardfalse
Controlla sche l'expansiun dal prompt è activada.
enable_safety_checkeropziunal
Tipboolean
Standardtrue
Activaziun da controlla da segirezza suttamessa als dretgs dal conto: ils controlls restan obligatorics per dumondas betg autorisadas, e la deactivaziun pretenda autorisaziun.
video_output_typeopziunal
Tipenum
StandardX264 (.mp4)
X264 (.mp4)VP9 (.webm)PRORES4444 (.mov)GIF (.gif)
Tip d'output dal video resultà.
video_qualityopziunal
Tipenum
Standardhigh
lowmediumhighmaximum
Nivel da qualitad dal video resultà.
video_write_modeopziunal
Tipenum
Standardbalanced
fastbalancedsmall
Modus da scriver per il video resultà.
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": "longcat-video/distilled/image-to-video/480p",
  "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": 54,
    "usd": "0.054",
    "charged": 54,
    "refunded": 0
  },
  "input": {
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "output": {
    "prompt": "First-person view from the cockpit of a Formula 1 car. The driver's gloved hands firmly grip the intricate, carbon-fiber steering wheel adorned with numerous colorful buttons and a vibrant digital display showing race data. Beyond the windshield, a sun-drenched racetrack stretches ahead, lined with cheering spectators in the grandstands. Several rival cars are visible in the distance, creating a dynamic sense of competition. The sky above is a clear, brilliant blue, reflecting the exhilarating atmosphere of a high-speed race. high resolution 4k",
    "seed": 42,
    "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
prompt
stringPrompt utilisà per generar l'output.
seed
integerValur da seed applitgada durant la generaziun.
video
object {url, content_type, file_name, file_size}Datoteca video producida da la generaziun.

Dapli models: Maletg a video

Per agents AI: questa pagina sco Markdown è disponibla sut https://doitong.com/rm/developers/models/longcat-video/distilled/image-to-video/480p.md. Tut ils models e las guidas: https://doitong.com/developers/llms.txt