உள்ளடக்கத்திற்குச் செல்க

Pika Scenes (v2.2)

ஒருங்கிணை

மாடல் id pika/v2.2/pikascenes
# 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/pika/v2.2/pikascenes?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ],
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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.45 450 API கிரெடிட்கள் இந்தப் பக்கத்தில் இயக்குங்கள்

API விசையைப் பெறுக
Pika படத்திலிருந்து வீடியோவிற்கு 5–10 s1080p வரை #editing#effects#animation

பல குறிப்பு படங்களை ஒரு வீடியோவாக இணைக்கிறது; துல்லியமான அல்லது படைப்பூக்கமான கலப்பை வழங்குகிறது

Pika · வீடியோ

உங்கள் முதல் முடிவு இங்கே வரும்

கீழே ஒரு கோரிக்கையை உருவாக்கி, உங்கள் API விசையுடன் இயக்குங்கள். வெளியீடுகள் எங்கள் சேமிப்பகத்தில் நகலெடுக்கப்பட்டு, நிரந்தரமாக அல்லது இலவசமாக 7 நாட்கள் வைக்கப்படும்.

கோரிக்கையை உருவாக்கு

மாடல் ஸ்கீமாவிலிருந்து கட்டுப்பாடுகள் உருவாக்கப்படுகின்றன. அவற்றை மாற்றும்போது குறியீடும் விலையும் புதுப்பிக்கப்படும்.

•தேவை

உருவாக்க வேண்டிய வீடியோவின் உரை விளக்கம்.

•தேவை image_urls
கோப்பை விடுங்கள் அல்லது

வீடியோவாக இணைக்கப்படும் மூலப் படங்களை அடையாளப்படுத்தும் URL-கள்.

duration 5 s

வினாடிகளில் அளவிடப்படும் வெளியீட்டு வீடியோ நீளம்.

aspect_ratio இயல்புநிலை 16:9

வெளியீட்டு வீடியோவின் அகல-உயர விகிதம்.

resolution இயல்புநிலை 1080p

வெளியீட்டு வீடியோவுக்கான தெளிவுத்திறன்.

மேம்பட்டவை negative_prompt · ingredients_mode · seed
இயல்புநிலை ugly, bad, terrible

மாதிரிக்கு வழிகாட்டப் பயன்படுத்தப்படும் எதிர்மறை ப்ராம்ப்ட்.

ingredients_mode இயல்புநிலை precise

பல-பட ஒருங்கிணைப்பு முறை; precise mode-ன் அதிகத் துல்லியத்திற்கும் creative mode-ன் அதிகப் படைப்பாற்றலுக்கும் இடையே தேர்வு வழங்குகிறது.

சீரற்ற எண் உருவாக்கியால் பயன்படுத்தப்படும் விதை மதிப்பு.

POST /run/pika/v2.2/pikascenes?wait=20 விலை → $0.45
# 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/pika/v2.2/pikascenes?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ],
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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-க்கு மட்டும் அனுப்பப்படும்; Remember-ஐத் தேர்ந்தெடுத்தால் மட்டுமே (localStorage)-ல் சேமிக்கப்படும். API விசையைப் பெறுங்கள்

Pika Scenes (v2.2) பற்றி

கட்டாய `prompt` இன் வழிகாட்டுதலுடன் `image_urls` இலிருந்து பல படங்களை ஒரே கிளிப்பாக இணைக்கிறது. `ingredients_mode` துல்லியமான முறைக்கும் படைப்பாற்றல் முறைக்கும் இடையில் மாறுகிறது; துல்லியமான முறை மூலப் படங்களை நெருக்கமாகப் பின்பற்றும், படைப்பாற்றல் முறை அதிக சுதந்திரத்தை அனுமதிக்கும். ஏழு அகல-உயர விகிதங்கள், 720p அல்லது 1080p (இயல்புநிலை 1080p), மேலும் 5 அல்லது 10 வினாடி கால அளவுகளை ஆதரிக்கிறது.

அளவுருக்கள்

நியமப் பெயர் அல்லது நேட்டிவ் பெயர் இரண்டில் ஒன்றை மட்டும் அனுப்பவும். நியமப் பெயர்கள்

பெயர்வகை இயல்புநிலைஅனுமதிக்கப்பட்டது விளக்கம்
image_urlsதேவை images
வகைurl[] · image
வீடியோவாக இணைக்கப்படும் மூலப் படங்களை அடையாளப்படுத்தும் URL-கள்.
promptதேவை
வகைstring
உருவாக்க வேண்டிய வீடியோவின் உரை விளக்கம்.
negative_promptவிருப்பத்தேர்வு
வகைstring
இயல்புநிலைugly, bad, terrible
மாதிரிக்கு வழிகாட்டப் பயன்படுத்தப்படும் எதிர்மறை ப்ராம்ப்ட்.
seedவிருப்பத்தேர்வு
வகைinteger | null
சீரற்ற எண் உருவாக்கியால் பயன்படுத்தப்படும் விதை மதிப்பு.
aspect_ratioவிருப்பத்தேர்வு
வகைenum
இயல்புநிலை16:9
16:99:161:14:55:43:22:3
வெளியீட்டு வீடியோவின் அகல-உயர விகிதம்.
resolutionவிருப்பத்தேர்வு
வகைenum
இயல்புநிலை1080p
720p1080p
வெளியீட்டு வீடியோவுக்கான தெளிவுத்திறன்.
durationவிருப்பத்தேர்வு
வகைenum
இயல்புநிலை5
510
வினாடிகளில் அளவிடப்படும் வெளியீட்டு வீடியோ நீளம்.
ingredients_modeவிருப்பத்தேர்வு
வகைenum
இயல்புநிலைprecise
precisecreative
பல-பட ஒருங்கிணைப்பு முறை; precise mode-ன் அதிகத் துல்லியத்திற்கும் creative mode-ன் அதிகப் படைப்பாற்றலுக்கும் இடையே தேர்வு வழங்குகிறது.
தேவை நியமப் பெயர், இதுவும் ஏற்கப்படும்

கோப்பு அளவுருக்கள் பொதுவான https:// URL, 10 MB வரையிலான data: URI அல்லது பதிவேற்றத்தின் file_url-ஐ ஏற்கும். கோப்புகள்

வெளியீடு

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "pika/v2.2/pikascenes",
  "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": 450,
    "usd": "0.45",
    "charged": 450,
    "refunded": 0
  },
  "input": {
    "image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ],
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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-மாதத்திற்கு கட்டணம்) அல்லது உங்கள் கணக்கு அமைப்பு அல்லது ?storage= மூலம் இலவசமாக 7 நாட்கள் வைக்கப்படும்.
ஒவ்வொரு மாடலிலும் ஒரே வடிவம்படங்கள், வீடியோ மற்றும் ஆடியோ ஆகிய அனைத்திற்குமான type, url, content_type, width, height மற்றும் duration. output என்பது மாதிரியின் சொந்த முடிவு பொருளாகும்.
வெளியீட்டின் புலங்கள்
video
object {url, content_type, file_name, file_size}பல படங்களிலிருந்து தொகுக்கப்பட்ட உருவாக்கப்பட்ட வீடியோ.

மேலும் மாதிரிகள்: படத்திலிருந்து வீடியோவிற்கு

AI ஏஜெண்டுகளுக்கு: இந்தப் பக்கம் Markdown வடிவில் இங்கே உள்ளது https://doitong.com/ta/developers/models/pika/v2.2/pikascenes.md. அனைத்து மாடல்களும் வழிகாட்டிகளும்: https://doitong.com/developers/llms.txt