உள்ளடக்கத்திற்குச் செல்க
புதியது 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 ஆகியவை ஒவ்வொரு மாடலிலும் ஒரே பொருளைக் குறிக்கும். மாடலுக்கே உரிய பெயர்களும் alias-களாகச் செயல்படும்.

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

ஒவ்வொரு மாடலுக்கும் ஒரே கோரிக்கை URL

பாதையை மாற்றுவதன் மூலம் மாதிரிகளை மாற்றலாம். அங்கீகாரம், உடல் மற்றும் பதில் ஒரே மாதிரியாக இருக்கும்.

POST /run/{model_id}

Quote = கட்டணம்

POST /quote/{model_id} உங்கள் உள்ளீட்டுக்கான துல்லியமான விலையை வழங்கும். நீங்கள் செலுத்துவது அதுவே, ஒருபோதும் அதற்கு மேல் இல்லை.

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

உங்களுக்குத் தேவைப்படும் காலம் வரை கோப்புகள் வைக்கப்படும்

ஒவ்வொரு வெளியீடும் எங்கள் சேமிப்பகத்தில் நகலெடுக்கப்படுகிறது. மாதத்திற்கு ஒரு GB-க்கு $0.10 செலுத்தி நிரந்தரமாக வைத்திருக்கலாம், அல்லது இலவசமாக 7 நாட்கள் வைத்திருக்கலாம்: உங்கள் கணக்கில் அல்லது ஒவ்வொரு கோரிக்கையிலும் ஒரே சுவிட்ச் மூலம் தேர்வு செய்யலாம்.

?storage=permanent | temporary

ஒரே பிழை வடிவம்

ஒவ்வொரு தோல்வியும், ஒவ்வொரு மாடலிலும், அளவுரு, காரணம் மற்றும் ஆவண இணைப்பைக் குறிப்பிடும். தவறான உள்ளீட்டுக்கு ஒருபோதும் கட்டணம் விதிக்கப்படாது.

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

ஒவ்வொரு விசைக்கும் பட்ஜெட் + MCP

ஒவ்வொரு விசைக்கும் செலவு வரம்பை அமைத்து, MCP சேவையகம் மூலம் அந்த விசையை ஒரு முகவரிடம் ஒப்படைக்கவும்.

api.doitong.com/v1/mcp
AI ஏஜென்ட்களுக்காக உருவாக்கப்பட்டது

உங்கள் ஏஜென்ட் மாடலைத் தேர்ந்தெடுத்து, விலையை அறிந்து இயக்கட்டும்

REST-க்கு பயன்படுத்தும் அதே விசையுடன் Claude, ChatGPT அல்லது Cursor-ஐ Doitong MCP server-க்கு இணைக்கவும். ஒவ்வொரு ஆவணப் பக்கமும் 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"

உங்கள் திட்டக் கோப்புறையில் ஒருமுறை இயக்குங்கள். REST API-க்கான அதே Bearer விசை.