Saltar al cuntegna

LongCat Video · Image to Video · 720p

Integrar

ID dal model longcat-video/image-to-video/720p
# 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/image-to-video/720p?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,216 216 credits API · ≈ ₽23,24 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à negative_prompt · video_output_type · video_quality · video_write_mode · acceleration · num_inference_steps · num_refine_inference_steps · guidance_scale · fps · seed · enable_prompt_expansion · enable_safety_checker
standard Bright tones, overexp...

Prompt negativ utilisà durant la generaziun dal video.

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à.

acceleration standard regular

Nivel d'acceleraziun applitgà durant la generaziun video.

standard 40

Dumber da pass d'inferenza exequids durant la generaziun video.

standard 40

Dumber da pass d'inferenza exequids durant il raffinament.

standard 4

Scala da guida applitgada durant la generaziun dal video.

standard 30

Frame rate dal video d'output.

Valur da seed che inizialisescha la generaziun da nums casuals.

POST /run/longcat-video/image-to-video/720p?wait=20 calculaziun → $0,216
# 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/image-to-video/720p?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 · Image to Video · 720p

Anima in maletg d’input en in video lung, cun ina segunda etappa da refinaziun controllada da `num_refine_inference_steps` (8 fin 50). `num_frames` è da 17 fin 961 (standard 162), e la frequenza da frames è 30 per standard. Accepta er in prompt, in prompt negativ e `guidance_scale` (1 fin 10). Ils formats d’output includan mp4, webm, ProRes mov e 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.
negative_promptopziunal
Tipstring
StandardBright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture, messy background, three legs, many people in the background, walking backwards
Prompt negativ utilisà durant la generaziun dal video.
num_framesopziunal
Tipinteger
Standard162
17 – 961
Dumber da frames per l'output generà.
num_inference_stepsopziunal
Tipinteger
Standard40
8 – 50
Dumber da pass d'inferenza exequids durant la generaziun video.
num_refine_inference_stepsopziunal
Tipinteger
Standard40
8 – 50
Dumber da pass d'inferenza exequids durant il raffinament.
guidance_scaleopziunal
Tipnumber
Standard4
1 – 10
Scala da guida applitgada durant la generaziun dal video.
fpsopziunal
Tipinteger
Standard30
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à.
accelerationopziunal
Tipenum
Standardregular
noneregular
Nivel d'acceleraziun applitgà durant la generaziun video.
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/image-to-video/720p",
  "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": 216,
    "usd": "0.216",
    "charged": 216,
    "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/image-to-video/720p.md. Tut ils models e las guidas: https://doitong.com/developers/llms.txt