שפּרינגען צו אינהאַלט

Fabric 1.0

אינטעגרירן

מאָדעל־id veed/fabric-1.0/text
# 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/veed/fabric-1.0/text?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/avatar/talking_avatar.jpg",
    "text": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "resolution": "720p"
  }'

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

דער דאָזיקער ריקוועסט: ≈⁨$ 4.50⁩ 4,500 API־קרעדיטן לויפֿן עס אויף דער דאָזיקער בלאַט

באַקומען אַן API שליסל
VEED ליפּסינק און אַוואַטאַרן ליפּסינקביז 720p #lipsync#avatar#text-to-video

פֿאַרוואַנדלט אַ בילד פּלוס אַ טעקסט־סקריפּט אין אַ רעדנדיקן ווידעאָ מיט אַן אויטאָמאַטיש גענערירטן קול

VEED · ווידעא

דאָ קומט אײַער ערשטער רעזולטאַט

בויט אונטן אַ בקשה און לויפט זי מיט אײַער API שליסל. רעזולטאַטן ווערן קאַפּירט צו אונדזער סטאָרידזש, געהאַלטן אויף אייביק אָדער 7 טעג אומזיסט.

בויען אַ בעטן

קאָנטראָלן ווערן דזשענערירט פֿון דעם מאָדעל־סכעמע. דער קאָד און דער פּרײַז דערהײַנטיקן זיך ווען איר ענדערט זיי.

•פארלאנגט 88 / 2000
•פארלאנגט image_url
לייגט אַרײַן אַ טעקע, אָדער
resolution •פארלאנגט

רעזאָלוציע־באַשטעטיקונג.

פֿאָרגעשריטן voice_description

אָפּציאָנאַלע שטימע־גיידאַנס וואָס דערגאַנצט די הויפּט־באַשרײַבונג, אָטאָמאַטיש גענערירט פֿון בילד. ביידע קורצע באַשרײַבער ('British accent' אָדער 'Confident') און דעטאַלירטע באַשרײַבונגען ('Confident male voice, mid-20s, with notes of...') ווערן געשטיצט.

POST /run/veed/fabric-1.0/text?wait=20 פּרײַז → ⁨$ 4.50⁩
# 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/veed/fabric-1.0/text?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/avatar/talking_avatar.jpg",
    "text": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "resolution": "720p"
  }'

# 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) נאָר אויב איר טיקט אָן געדענקען. באַקומען אַן API שליסל

וועגן Fabric 1.0

נעמט אַן `image_url` און אַ `text` סקריפּט ביז 2000 אותיות, און גענערירט אַ רעדנדיקן ווידעאָ מיט אַ קול געשאַפֿן פֿאַר דעם אַבדזשעקט אינעם בילד. דער אָפּציאָנאַלער `voice_description` אַדזשאַסטירט דעם קול, למשל אַן אַקצענט אָדער טאָן. `resolution` איז נייטיק, 720p אָדער 480p. קיין אַודיאָ־טעקע איז נישט נייטיק.

פּאַראַמעטערס

שיקט אָדער דעם קאַנאָנישן נאָמען אָדער דעם נאַטיוון נאָמען, נישט ביידע. קאַנאָנישע נעמען

נאָמעןטיפּ סטאַנדאַרטערלויבט באַשרײַבונג
image_urlפארלאנגט image
טיפּurl · image
≤ 2,083 כאַראַקטערן
textפארלאנגט
טיפּstring
≤ 2,000 כאַראַקטערן
voice_descriptionאָפּציאָנעל
טיפּstring | null
אָפּציאָנאַלע שטימע־גיידאַנס וואָס דערגאַנצט די הויפּט־באַשרײַבונג, אָטאָמאַטיש גענערירט פֿון בילד. ביידע קורצע באַשרײַבער ('British accent' אָדער 'Confident') און דעטאַלירטע באַשרײַבונגען ('Confident male voice, mid-20s, with notes of...') ווערן געשטיצט.
resolutionפארלאנגט
טיפּenum
720p480p
רעזאָלוציע־באַשטעטיקונג.
פארלאנגט קאַנאָנישער נאָמען, אויך אַקצעפּטירט

טעקע־פּאַראַמעטערס נעמען אַן עפֿנטלעכע https:// URL, אַ data: URI ביז 10 MB, אָדער דעם file_url פֿון אַן אַרויפֿלאָד. טעקעס

אויסגאַבע

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "veed/fabric-1.0/text",
  "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": 4500,
    "usd": "4.50",
    "charged": 4500,
    "refunded": 0
  },
  "input": {
    "image_url": "https://content.doitong.com/images/showcase/v3/avatar/talking_avatar.jpg",
    "text": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "resolution": "720p"
  },
  "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.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}

מער מאָדעלן: ליפּסינק און אַוואַטאַרן

פֿאַר AI־אַגענטן: דער בלאַט ווי Markdown געפֿינט זיך בײַ https://doitong.com/yi/developers/models/veed/fabric-1.0/text.md. אַלע מאָדעלן און גוידעס: https://doitong.com/developers/llms.txt