דילוג לתוכן
חדש Kling 3.0 ו־Seedance 2.0 זמינים

API אחד למודלים הטובים ביותר של תמונה, וידאו ואודיו

אותו פורמט בקשה לכל מודל. מחיר מדויק לפני ההרצה. קבצים נשמרים לצמיתות או למשך 7 ימים ללא תשלום, לבחירתכם.

POSTapi.doitong.com/v1/run/{model_id}

1,496מודלים
84מעבדות
תמונהווידאואודיו3Dטקסטנתונים (JSON)קובץ
פורמט בקשה אחד לכולם
התחלה מהירה

ממפתח לסרטון מוגמר בקריאה אחת

קריאת מדריך ההתחלה המהירה
מסוף
# Keys start with doitong_
export DOITONG_API_KEY="doitong_..."

# Check it works: returns your API credit balance
curl https://api.doitong.com/v1/account \
  -H "Authorization: Bearer $DOITONG_API_KEY"
מסוף
# 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/kling-video/v3/pro/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "The banana manager turns to the camera, smiles and waves while coworkers keep typing, gentle handheld camera",
    "image": "https://content.doitong.com/images/gp/image_20260610003801_541d9719_316882.png",
    "duration": 5
  }'

# 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"
response.json
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "model": "kling-video/v3/pro/image-to-video",
  "status": "succeeded",
  "cost": {
    "credits": 840,
    "usd": "0.84",
    "charged": 840,
    "refunded": 0
  },
  "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
    }
  ]
}
1,496 מודלים · 21 קטגוריות

ראו מה כל מודל יוצר

כל הקטגוריות (21)

עיון לפי מעבדה

כל המעבדות (84)
למה Doitong API

למדו בקשה אחת. השתמשו בכל מודל.

פרמטרים מאוחדים

image, duration ו־aspect_ratio משמעותם זהה בכל מודל. שמות מקוריים של המודל עדיין פועלים ככינויים.

"image": "…", "duration": 5

כתובת בקשה אחת לכל מודל

החליפו מודלים באמצעות שינוי הנתיב. האימות, גוף הבקשה והתגובה נשארים זהים.

POST /run/{model_id}

הצעת מחיר = חיוב

POST /quote/{model_id} מחזיר את המחיר המדויק עבור הקלט שלכם. זה הסכום שתשלמו, ולא יותר.

→ { "credits": 560, "usd": "0.56" }

קבצים שנשמרים כל עוד תצטרכו

כל פלט מועתק לאחסון שלנו. שמרו אותו לצמיתות תמורת ⁨‏0.10 ‏$⁩ ל־GB בחודש, או למשך 7 ימים ללא תשלום: באמצעות מתג אחד בחשבון שלכם או בכל בקשה.

?storage=permanent | temporary

פורמט שגיאה אחד

כל כשל מציין את הפרמטר, את הסיבה וקישור לתיעוד, בכל מודל. קלט לא תקין לעולם אינו מחויב.

"param": "duration", "code": "out_of_range"

תקציבים לכל מפתח + MCP

הגבילו את ההוצאה לכל מפתח, ולאחר מכן העבירו את המפתח לסוכן דרך שרת MCP.

api.doitong.com/v1/mcp
נבנה עבור סוכני AI

אפשרו לסוכן שלכם לבחור את המודל, לקבל הצעת מחיר ולהפעיל אותו

חברו את Claude, ChatGPT או Cursor לשרת Doitong MCP באמצעות אותו מפתח שבו אתם משתמשים עבור REST. כל דף תיעוד זמין גם כ־Markdown, כך שהסוכנים קוראים בדיוק את מה שאתם קוראים.

  • הצעות מחיר לפני כל הפעלה, כדי שהסוכנים יישארו במסגרת התקציב
  • השגיאות מציינות את הפרמטר שעל הסוכן לתקן
  • גרסת Markdown של כל דף עבור חלונות ההקשר

הדביקו אותה ב־Claude, ChatGPT או Cursor, ואז תארו מה ברצונכם לבנות.

הצגת ההנחיה
You can generate images, video, audio and 3D with the Doitong API.
Read https://doitong.com/developers/llms.txt first, then the .md page of each model you plan to use.
Base URL: https://api.doitong.com/v1. Authenticate with the header "Authorization: Bearer $DOITONG_API_KEY".
List models with GET /models and read one model's schema with GET /models/{model_id}.
Always call POST /quote/{model_id} with the input first and tell me the price (1000 API credits = 1 USD).
Then call POST /run/{model_id}?wait=20 with the same JSON body and an Idempotency-Key header.
If the status is still queued or running, poll GET /requests/{id}?wait=20.
Use outputs[].url from the response; files are kept forever unless the account keeps them 7 days
(pass ?storage=temporary for throwaway runs). Use only parameters from the model schema.
claude mcp add --transport http doitong-models https://api.doitong.com/v1/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

הריצו פעם אחת בתיקיית הפרויקט. אותו מפתח Bearer כמו ב־REST API.