ਸਮੱਗਰੀ ਵੱਲ ਜਾਓ

Editto

ਇੰਟੀਗ੍ਰੇਟ ਕਰੋ

ਮਾਡਲ id editto
# 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/editto?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",
    "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"

ਉਦਾਹਰਨ ਵਰਗੀਆਂ ਫ਼ਾਈਲਾਂ: $0.405 405 API ਕ੍ਰੈਡਿਟ ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ ਚਲਾਉਣ ਤੋਂ ਪਹਿਲਾਂ ਮਾਪੀਆਂ ਜਾਂਦੀਆਂ ਹਨ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ
Open model ਵੀਡੀਓ ਤੋਂ ਵੀਡੀਓ 720p ਤੱਕ #video-edit#wan-vace

ਹਦਾਇਤ-ਆਧਾਰਿਤ ਵੀਡੀਓ ਐਡਿਟਿੰਗ ਜੋ ਪ੍ਰੌਂਪਟ ਤੋਂ ਸਰੋਤ ਵੀਡੀਓ ਨੂੰ ਦੁਬਾਰਾ ਲਿਖਦੀ ਹੈ, ਫ੍ਰੇਮ, fps ਅਤੇ ਰੈਜ਼ੋਲਿਊਸ਼ਨ ਨਿਯੰਤਰਣਾਂ ਸਮੇਤ

Open model · ਵੀਡੀਓ

ਤੁਹਾਡਾ ਪਹਿਲਾ ਨਤੀਜਾ ਇੱਥੇ ਹੋਵੇਗਾ

ਹੇਠਾਂ ਬੇਨਤੀ ਬਣਾਓ ਅਤੇ ਆਪਣੀ API ਕੁੰਜੀ ਨਾਲ ਚਲਾਓ। ਆਉਟਪੁੱਟ ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਕਾਪੀ ਕੀਤੇ ਜਾਂਦੇ ਹਨ ਅਤੇ ਹਮੇਸ਼ਾ ਲਈ ਜਾਂ ਮੁਫ਼ਤ ਵਿੱਚ 7 ਦਿਨ ਤੱਕ ਰੱਖੇ ਜਾਂਦੇ ਹਨ।

ਰਿਕਵੈਸਟ ਬਣਾਓ

ਕੰਟਰੋਲ ਮਾਡਲ ਸਕੀਮਾ ਤੋਂ ਤਿਆਰ ਹੁੰਦੇ ਹਨ। ਤੁਸੀਂ ਬਦਲਾਅ ਕਰਦੇ ਹੀ ਕੋਡ ਅਤੇ ਕੀਮਤ ਅੱਪਡੇਟ ਹੋ ਜਾਂਦੇ ਹਨ।

•ਲੋੜੀਂਦਾ

ਵੀਡੀਓ ਸਿਰਜਣਾ ਨੂੰ ਦਿਸ਼ਾ ਦੇਣ ਵਾਲੀਆਂ ਟੈਕਸਟ ਹਦਾਇਤਾਂ।

•ਲੋੜੀਂਦਾ video_url
ਫ਼ਾਈਲ ਛੱਡੋ, ਜਾਂ

ਸਰੋਤ ਵੀਡੀਓ ਫ਼ਾਈਲ ਦਾ URL; inpainting ਕਰਨ ਵੇਲੇ ਲਾਜ਼ਮੀ।

resolution ਡਿਫ਼ਾਲਟ auto

ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਦਾ ਰੈਜ਼ੋਲਿਊਸ਼ਨ।

aspect_ratio ਡਿਫ਼ਾਲਟ auto

ਨਤੀਜੇ ਵਾਲੀ ਵੀਡੀਓ ਦਾ ਪੱਖ ਅਨੁਪਾਤ।

ਡਿਫ਼ਾਲਟ 81

ਆਉਟਪੁੱਟ ਫ੍ਰੇਮ ਗਿਣਤੀ, inclusive ਰੇਂਜ 81–241 ਦੇ ਨਾਲ।

ਡਿਫ਼ਾਲਟ 0

Interpolation ਗਿਣਤੀ: 0 ਮੂਲ ਫ੍ਰੇਮਾਂ ਨੂੰ ਬਿਨਾਂ interpolation ਦੇ ਛੱਡਦਾ ਹੈ; ਹੋਰ ਮੁੱਲ ਉਨ੍ਹਾਂ ਦੇ ਵਿਚਕਾਰ ਸਿਰਜੇ ਜਾਣ ਵਾਲੇ ਵਿਚਕਾਰਲੇ ਫ੍ਰੇਮਾਂ ਦੀ ਗਿਣਤੀ ਦੱਸਦੇ ਹਨ।

ਉੱਨਤ negative_prompt · sampler · acceleration · video_quality · video_write_mode · frames_per_second · num_inference_steps · guidance_scale · shift · temporal_downsample_factor · seed · match_input_frames_per_second · enable_safety_checker · enable_auto_downsample · return_frames_zip
ਡਿਫ਼ਾਲਟ letterboxing, borders...

ਵੀਡੀਓ ਸਿਰਜਣ ਵੇਲੇ ਲਾਗੂ ਕੀਤਾ negative ਪ੍ਰੌਂਪਟ।

sampler ਡਿਫ਼ਾਲਟ unipc

ਵੀਡੀਓ ਸਿਰਜਣ ਵੇਲੇ ਵਰਤਿਆ ਜਾਣ ਵਾਲਾ sampler।

acceleration ਡਿਫ਼ਾਲਟ regular

Inference acceleration ਸੈਟਿੰਗ, ਜਿਸ ਵਿੱਚ 'none' ਜਾਂ 'regular' ਵਿੱਚੋਂ ਚੋਣ ਹੁੰਦੀ ਹੈ: accelerated processing ਬਹੁਤ ਵੱਧ ਗਤੀ ਸੁਧਾਰ ਦਿੰਦੀ ਹੈ, ਪਰ ਆਉਟਪੁੱਟ ਵਿੱਚ ਬਹੁਤ ਛੋਟਾ ਬਦਲਾਅ ਹੋ ਸਕਦਾ ਹੈ।

video_quality ਡਿਫ਼ਾਲਟ high

ਨਤੀਜੇ ਵਾਲੀ ਵੀਡੀਓ ਦਾ ਗੁਣਵੱਤਾ ਪੱਧਰ।

video_write_mode ਡਿਫ਼ਾਲਟ balanced

ਨਤੀਜੇ ਵਾਲੀ ਵੀਡੀਓ ਦਾ ਲਿਖਣ ਮੋਡ।

ਡਿਫ਼ਾਲਟ 16

ਸਿਰਜੇ ਗਏ ਵੀਡੀਓ ਦੀ ਫ੍ਰੇਮ ਦਰ, ਸਿਰਫ਼ ਉਦੋਂ ਲਾਗੂ ਹੁੰਦੀ ਹੈ ਜਦੋਂ `match_input_frames_per_second` true ਨਾ ਹੋਵੇ; ਮਨਜ਼ੂਰ ਮੁੱਲ 5–30 ਫ੍ਰੇਮ ਪ੍ਰਤੀ ਸਕਿੰਟ ਹਨ।

ਡਿਫ਼ਾਲਟ 30

Sampling ਕਦਮਾਂ ਦੀ ਗਿਣਤੀ; ਗਿਣਤੀ ਵਧਣ ਨਾਲ ਵੱਧ ਪ੍ਰੋਸੈਸਿੰਗ ਸਮੇਂ ਦੇ ਬਦਲੇ ਬਿਹਤਰ ਗੁਣਵੱਤਾ ਮਿਲਦੀ ਹੈ।

ਡਿਫ਼ਾਲਟ 5

Classifier-free guidance ਰਾਹੀਂ ਨਿਯੰਤਰਿਤ ਪ੍ਰੌਂਪਟ-ਅਨੁਕੂਲਤਾ ਦੀ ਤਾਕਤ; scale ਵਧਾਉਣ ਨਾਲ ਸਿਰਜੇ ਚਿੱਤਰ ਟੈਕਸਟ ਦੀ ਹੋਰ ਨੇੜਿਓਂ ਪਾਲਣਾ ਕਰਦੇ ਹਨ।

ਡਿਫ਼ਾਲਟ 5

ਵੀਡੀਓ ਸਿਰਜਣ ਵੇਲੇ ਲਾਗੂ ਕੀਤੀ shift ਸੈਟਿੰਗ।

ਡਿਫ਼ਾਲਟ 0

ਵੀਡੀਓ ਫ੍ਰੇਮ-ਸਕਿੱਪਿੰਗ ਗੁਣਕ, integer ਵਜੋਂ ਦਰਸਾਇਆ ਜਾਂਦਾ ਹੈ; ਹਰ downsampling factor ਲਈ ਇੱਕ ਵਾਰ automatic upsampling ਲਾਗੂ ਹੁੰਦੀ ਹੈ। Temporal downsampling ਬੰਦ ਰੱਖਣ ਲਈ 0 ਵਰਤੋ।

ਸਿਰਜਣਾ ਨੂੰ ਦੁਹਰਾਉਣਯੋਗ ਬਣਾਉਣ ਵਾਲਾ ਸੀਡ। ਇਸਨੂੰ None ਸੈੱਟ ਕਰਨ ਨਾਲ ਸੀਡ ਬੇਤਰਤੀਬੇ ਢੰਗ ਨਾਲ ਚੁਣਿਆ ਜਾਂਦਾ ਹੈ।

POST /run/editto?wait=20 ਕੋਟ → $0.405
# 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/editto?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",
    "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"

ਇਹ ਬੇਨਤੀ ਚਲਾਓ

ਤੁਹਾਡੀ key ਇਸ ਬ੍ਰਾਊਜ਼ਰ ਵਿੱਚ ਰਹਿੰਦੀ ਹੈ: ਇਹ ਸਿਰਫ਼ Doitong API ਨੂੰ ਭੇਜੀ ਜਾਂਦੀ ਹੈ ਅਤੇ ਸਿਰਫ਼ ਤਾਂ ਹੀ (localStorage) ਵਿੱਚ ਸੁਰੱਖਿਅਤ ਹੁੰਦੀ ਹੈ ਜੇ ਤੁਸੀਂ Remember ਚੁਣੋ। API ਕੁੰਜੀ ਪ੍ਰਾਪਤ ਕਰੋ

Editto ਬਾਰੇ

`video_url` ਰਾਹੀਂ ਦਿੱਤੀ ਮੌਜੂਦਾ ਵੀਡੀਓ ਨੂੰ ਟੈਕਸਟ `prompt` ਦੀ ਦਿਸ਼ਾ ਅਨੁਸਾਰ ਐਡਿਟ ਕਰਦਾ ਹੈ। ਆਉਟਪੁੱਟ ਇਨਪੁਟ ਦੀ ਫ੍ਰੇਮ ਗਿਣਤੀ ਅਤੇ ਫ੍ਰੇਮ ਰੇਟ ਦੀ ਪਾਲਣਾ ਕਰ ਸਕਦੀ ਹੈ, ਜਾਂ `num_frames` (17 ਤੋਂ 241) ਅਤੇ `frames_per_second` (5 ਤੋਂ 30) ਵਰਤ ਸਕਦੀ ਹੈ। ਰੈਜ਼ੋਲਿਊਸ਼ਨ 240p ਤੋਂ 720p ਤੱਕ ਹੈ, ਆਸਪੈਕਟ ਰੇਸ਼ੋ auto, 16:9, 1:1 ਜਾਂ 9:16 ਹੋ ਸਕਦਾ ਹੈ, ਅਤੇ ਫ੍ਰੇਮਾਂ ਦੀ ZIP ਵੀ ਵਾਪਸ ਕੀਤੀ ਜਾ ਸਕਦੀ ਹੈ।

ਪੈਰਾਮੀਟਰ

ਕੈਨੋਨਿਕਲ ਨਾਮ ਜਾਂ ਨੇਟਿਵ ਨਾਮ ਵਿੱਚੋਂ ਕੋਈ ਇੱਕ ਭੇਜੋ, ਦੋਵੇਂ ਨਹੀਂ। ਕੈਨੋਨਿਕਲ ਨਾਮ

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
promptਲੋੜੀਂਦਾ
ਕਿਸਮstring
ਵੀਡੀਓ ਸਿਰਜਣਾ ਨੂੰ ਦਿਸ਼ਾ ਦੇਣ ਵਾਲੀਆਂ ਟੈਕਸਟ ਹਦਾਇਤਾਂ।
negative_promptਵਿਕਲਪਿਕ
ਕਿਸਮstring
ਡਿਫ਼ਾਲਟletterboxing, borders, black bars, bright colors, overexposed, static, blurred details, subtitles, style, artwork, painting, picture, still, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, malformed limbs, fused fingers, still picture, cluttered background, three legs, many people in the background, walking backwards
ਵੀਡੀਓ ਸਿਰਜਣ ਵੇਲੇ ਲਾਗੂ ਕੀਤਾ negative ਪ੍ਰੌਂਪਟ।
match_input_num_framesਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟfalse
ਸਿਰਜੇ ਗਏ ਵੀਡੀਓ ਦੀ ਫ੍ਰੇਮ ਗਿਣਤੀ ਦਾ ਸਰੋਤ: false `num_frames` ਵਰਤਦਾ ਹੈ, ਜਦਕਿ true ਇਨਪੁੱਟ ਵੀਡੀਓ ਦੀ ਫ੍ਰੇਮ ਗਿਣਤੀ ਕਾਪੀ ਕਰਦਾ ਹੈ।
num_framesਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ81
17 – 241
ਆਉਟਪੁੱਟ ਫ੍ਰੇਮ ਗਿਣਤੀ, inclusive ਰੇਂਜ 81–241 ਦੇ ਨਾਲ।
match_input_frames_per_secondਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟfalse
ਸਿਰਜੇ ਗਏ ਵੀਡੀਓ ਦੀ ਫ੍ਰੇਮ ਦਰ ਦਾ ਸਰੋਤ: false `frames_per_second` ਵਰਤਦਾ ਹੈ, ਜਦਕਿ true ਇਨਪੁੱਟ ਵੀਡੀਓ ਦੀ ਫ੍ਰੇਮ ਦਰ ਕਾਪੀ ਕਰਦਾ ਹੈ।
frames_per_secondਵਿਕਲਪਿਕ
ਕਿਸਮinteger | null
ਡਿਫ਼ਾਲਟ16
5 – 30
ਸਿਰਜੇ ਗਏ ਵੀਡੀਓ ਦੀ ਫ੍ਰੇਮ ਦਰ, ਸਿਰਫ਼ ਉਦੋਂ ਲਾਗੂ ਹੁੰਦੀ ਹੈ ਜਦੋਂ `match_input_frames_per_second` true ਨਾ ਹੋਵੇ; ਮਨਜ਼ੂਰ ਮੁੱਲ 5–30 ਫ੍ਰੇਮ ਪ੍ਰਤੀ ਸਕਿੰਟ ਹਨ।
seedਵਿਕਲਪਿਕ
ਕਿਸਮinteger | null
ਸਿਰਜਣਾ ਨੂੰ ਦੁਹਰਾਉਣਯੋਗ ਬਣਾਉਣ ਵਾਲਾ ਸੀਡ। ਇਸਨੂੰ None ਸੈੱਟ ਕਰਨ ਨਾਲ ਸੀਡ ਬੇਤਰਤੀਬੇ ਢੰਗ ਨਾਲ ਚੁਣਿਆ ਜਾਂਦਾ ਹੈ।
resolutionਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟauto
auto240p360p480p580p720p
ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਦਾ ਰੈਜ਼ੋਲਿਊਸ਼ਨ।
aspect_ratioਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟauto
auto16:91:19:16
ਨਤੀਜੇ ਵਾਲੀ ਵੀਡੀਓ ਦਾ ਪੱਖ ਅਨੁਪਾਤ।
num_inference_stepsਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ30
2 – 50
Sampling ਕਦਮਾਂ ਦੀ ਗਿਣਤੀ; ਗਿਣਤੀ ਵਧਣ ਨਾਲ ਵੱਧ ਪ੍ਰੋਸੈਸਿੰਗ ਸਮੇਂ ਦੇ ਬਦਲੇ ਬਿਹਤਰ ਗੁਣਵੱਤਾ ਮਿਲਦੀ ਹੈ।
guidance_scaleਵਿਕਲਪਿਕ
ਕਿਸਮnumber
ਡਿਫ਼ਾਲਟ5
1 – 10
Classifier-free guidance ਰਾਹੀਂ ਨਿਯੰਤਰਿਤ ਪ੍ਰੌਂਪਟ-ਅਨੁਕੂਲਤਾ ਦੀ ਤਾਕਤ; scale ਵਧਾਉਣ ਨਾਲ ਸਿਰਜੇ ਚਿੱਤਰ ਟੈਕਸਟ ਦੀ ਹੋਰ ਨੇੜਿਓਂ ਪਾਲਣਾ ਕਰਦੇ ਹਨ।
samplerਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟunipc
unipcdpm++euler
ਵੀਡੀਓ ਸਿਰਜਣ ਵੇਲੇ ਵਰਤਿਆ ਜਾਣ ਵਾਲਾ sampler।
shiftਵਿਕਲਪਿਕ
ਕਿਸਮnumber
ਡਿਫ਼ਾਲਟ5
1 – 15
ਵੀਡੀਓ ਸਿਰਜਣ ਵੇਲੇ ਲਾਗੂ ਕੀਤੀ shift ਸੈਟਿੰਗ।
video_urlਲੋੜੀਂਦਾ video
ਕਿਸਮurl · video
ਸਰੋਤ ਵੀਡੀਓ ਫ਼ਾਈਲ ਦਾ URL; inpainting ਕਰਨ ਵੇਲੇ ਲਾਜ਼ਮੀ।
enable_safety_checkerਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟfalse
ਸੁਰੱਖਿਆ ਜਾਂਚ ਸਵਿੱਚ, ਜਿਸ ਦੀ ਬੰਦ ਸੈਟਿੰਗ ਲਈ ਖਾਤਾ ਅਧਿਕਾਰ ਲੋੜੀਂਦਾ ਹੈ। ਇਸ ਅਧਿਕਾਰ ਤੋਂ ਬਿਨਾਂ ਸੈਟਿੰਗ ਦੀ ਪਰਵਾਹ ਕੀਤੇ ਬਿਨਾਂ ਹਰ ਬੇਨਤੀ ਦੀ ਜਾਂਚ ਕੀਤੀ ਜਾਂਦੀ ਹੈ; true ਜਾਂਚਕਰਤਾ ਨੂੰ ਸਮਰੱਥ ਕਰਦਾ ਹੈ।
accelerationਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟregular
nonelowregular
Inference acceleration ਸੈਟਿੰਗ, ਜਿਸ ਵਿੱਚ 'none' ਜਾਂ 'regular' ਵਿੱਚੋਂ ਚੋਣ ਹੁੰਦੀ ਹੈ: accelerated processing ਬਹੁਤ ਵੱਧ ਗਤੀ ਸੁਧਾਰ ਦਿੰਦੀ ਹੈ, ਪਰ ਆਉਟਪੁੱਟ ਵਿੱਚ ਬਹੁਤ ਛੋਟਾ ਬਦਲਾਅ ਹੋ ਸਕਦਾ ਹੈ।
video_qualityਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟhigh
lowmediumhighmaximum
ਨਤੀਜੇ ਵਾਲੀ ਵੀਡੀਓ ਦਾ ਗੁਣਵੱਤਾ ਪੱਧਰ।
video_write_modeਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟbalanced
fastbalancedsmall
ਨਤੀਜੇ ਵਾਲੀ ਵੀਡੀਓ ਦਾ ਲਿਖਣ ਮੋਡ।
num_interpolated_framesਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ0
0 – 5
Interpolation ਗਿਣਤੀ: 0 ਮੂਲ ਫ੍ਰੇਮਾਂ ਨੂੰ ਬਿਨਾਂ interpolation ਦੇ ਛੱਡਦਾ ਹੈ; ਹੋਰ ਮੁੱਲ ਉਨ੍ਹਾਂ ਦੇ ਵਿਚਕਾਰ ਸਿਰਜੇ ਜਾਣ ਵਾਲੇ ਵਿਚਕਾਰਲੇ ਫ੍ਰੇਮਾਂ ਦੀ ਗਿਣਤੀ ਦੱਸਦੇ ਹਨ।
temporal_downsample_factorਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ0
0 – 5
ਵੀਡੀਓ ਫ੍ਰੇਮ-ਸਕਿੱਪਿੰਗ ਗੁਣਕ, integer ਵਜੋਂ ਦਰਸਾਇਆ ਜਾਂਦਾ ਹੈ; ਹਰ downsampling factor ਲਈ ਇੱਕ ਵਾਰ automatic upsampling ਲਾਗੂ ਹੁੰਦੀ ਹੈ। Temporal downsampling ਬੰਦ ਰੱਖਣ ਲਈ 0 ਵਰਤੋ।
enable_auto_downsampleਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟfalse
ਆਟੋਮੈਟਿਕ ਫ੍ਰੇਮ-ਗਿਣਤੀ ਅਨੁਕੂਲਨ: ਇਸਨੂੰ ਸਮਰਥਿਤ ਕਰਨ ਨਾਲ ਮਾਡਲ ਢੁਕਵੀਂ ਲੰਬਾਈ ਵਾਲਾ temporally downsampled ਵੀਡੀਓ ਪ੍ਰੋਸੈਸ ਕਰਦਾ ਹੈ, ਅਤੇ ਬਾਅਦ ਦੀ interpolation ਮੂਲ ਫ੍ਰੇਮ ਗਿਣਤੀ ਬਹਾਲ ਕਰਦੀ ਹੈ।
return_frames_zipਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟfalse
ਕੀ ਹਰ ਸਿਰਜੇ ਗਏ ਫ੍ਰੇਮ ਵਾਲਾ ZIP archive ਵੀ ਵਾਪਸ ਕੀਤਾ ਜਾਵੇ; true ਹੋਣ 'ਤੇ ਸਮਰਥਿਤ।
ਲੋੜੀਂਦਾ ਕੈਨੋਨਿਕਲ ਨਾਮ, ਇਹ ਵੀ ਸਵੀਕਾਰਿਆ ਜਾਂਦਾ ਹੈ

ਫ਼ਾਈਲ ਪੈਰਾਮੀਟਰ ਜਨਤਕ https:// URL, 10 MB ਤੱਕ ਦਾ data: URI, ਜਾਂ ਅੱਪਲੋਡ ਦੇ file_url ਨੂੰ ਸਵੀਕਾਰਦੇ ਹਨ। ਫ਼ਾਈਲਾਂ

ਆਉਟਪੁੱਟ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "editto",
  "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": 405,
    "usd": "0.405",
    "charged": 405,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "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,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "prompt": "Make it a Pixel Art video.",
    "seed": 42,
    "frames_zip": {
      "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"
  }
}
ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ, ਤੁਹਾਡੀ ਚੋਣਹਰ outputs[].url ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਇੱਕ ਕਾਪੀ ਹੈ: ਹਮੇਸ਼ਾ ਲਈ ਰੱਖੀ ਜਾਂਦੀ ਹੈ (ਪ੍ਰਤੀ GB-ਮਹੀਨਾ ਭੁਗਤਾਨ) ਜਾਂ 7 ਦਿਨ ਤੱਕ ਮੁਫ਼ਤ, ਤੁਹਾਡੀ ਖਾਤਾ ਸੈਟਿੰਗ ਜਾਂ ?storage= ਅਨੁਸਾਰ।
ਹਰ ਮਾਡਲ ’ਤੇ ਇੱਕੋ ਜਿਹਾ ਰੂਪਤਸਵੀਰਾਂ, ਵੀਡੀਓ ਅਤੇ ਆਡੀਓ ਸਭ ਲਈ type, url, content_type, width, height ਅਤੇ duration। output ਮਾਡਲ ਦਾ ਆਪਣਾ ਨਤੀਜਾ ਆਬਜੈਕਟ ਹੈ।
ਆਉਟਪੁੱਟ ਦੇ ਫ਼ੀਲਡ
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}ਚਿੱਤਰ ਤੋਂ ਸਿਰਜੀ ਗਈ ਵੀਡੀਓ ਫ਼ਾਈਲ।
prompt
stringਆਉਟਪੁੱਟ ਸਿਰਜਣ ਲਈ ਵਰਤਿਆ ਗਿਆ ਪ੍ਰੌਂਪਟ।
seed
integerਸਿਰਜਣਾ ਦੌਰਾਨ ਲਾਗੂ ਕੀਤਾ ਗਿਆ ਸੀਡ ਮੁੱਲ।
frames_zip
object {url, content_type, file_name, file_size} | nullਹਰ ਵੀਡੀਓ ਫ੍ਰੇਮ ਵਾਲਾ ZIP archive, ਬੇਨਤੀ ਕਰਨ 'ਤੇ ਵਾਪਸ ਕੀਤਾ ਜਾਂਦਾ ਹੈ।

AI ਏਜੰਟਾਂ ਲਈ: ਇਹ ਪੰਨਾ Markdown ਵਜੋਂ ਇੱਥੇ ਹੈ https://doitong.com/pa/developers/models/editto.md. ਸਾਰੇ ਮਾਡਲ ਅਤੇ ਗਾਈਡ: https://doitong.com/developers/llms.txt