ข้ามไปยังเนื้อหา

PixVerse V5 Effects

ผสานการทำงาน

ID โมเดล pixverse/v5/effects
# 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/pixverse/v5/effects?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "effect": "Kiss Me AI",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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.20 200 เครดิต API ไฟล์ของคุณจะถูกวัดก่อนเรียกใช้ เรียกใช้ในหน้านี้

รับคีย์ API
PixVerse ภาพเป็นวิดีโอ 5–8 sสูงสุด 1080p #image-to-video

เอฟเฟกต์แปลงภาพเป็นวิดีโอของ PixVerse v5: เลือกเอฟเฟกต์ค่าล่วงหน้าและทำให้ภาพถ่ายเดียวเคลื่อนไหวใน 5 หรือ 8 วินาที

PixVerse · วิดีโอ

ผลลัพธ์แรกของคุณจะแสดงที่นี่

สร้างคำขอด้านล่างและเรียกใช้ด้วยคีย์ API ของคุณ เอาต์พุตจะถูกคัดลอกไปยังพื้นที่จัดเก็บของเรา และเก็บไว้ตลอดไปหรือฟรี 7 วัน

สร้างคำขอ

ตัวควบคุมสร้างจากสคีมาของโมเดล โค้ดและราคาจะอัปเดตเมื่อคุณเปลี่ยนค่า

•จำเป็น image_url
วางไฟล์ หรือ

URL รูปภาพเฟรมแรก ซึ่งระบุได้หากต้องการใช้รูปภาพแทนการสร้างจากข้อความเพียงอย่างเดียว

duration 5 s

ความยาววิดีโอเอาต์พุต วัดเป็นวินาที

resolution ค่าเริ่มต้น 720p

ความละเอียดที่ใช้สำหรับวิดีโอเอาต์พุต

•จำเป็น

เอฟเฟกต์ที่ใช้กับวิดีโอ

ขั้นสูง negative_prompt · enable_safety_checker
ค่าเริ่มต้น

พรอมต์การสร้างเชิงลบที่จำกัดความยาวตามไบต์ แม้ข้อความที่ดูสั้นอาจเกินขีดจำกัด เนื่องจากอีโมจิ ตัวอักษรมีเครื่องหมายกำกับเสียง และอักขระที่ไม่ใช่ละตินใช้หลายไบต์ ค่าสูงสุดคือ 2048 ไบต์เมื่อวัดด้วย UTF-8 ไม่ใช่จำนวนอักขระ

POST /run/pixverse/v5/effects?wait=20 ใบเสนอราคา → $0.20
# 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/pixverse/v5/effects?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "effect": "Kiss Me AI",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

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

เรียกใช้คำขอนี้

คีย์ของคุณจะอยู่ในเบราว์เซอร์นี้ โดยส่งไปยัง Doitong API เท่านั้น และจะบันทึกใน localStorage ก็ต่อเมื่อคุณเลือกจดจำ รับคีย์ API

เกี่ยวกับ PixVerse V5 Effects

รับ `image_url` เป็นเฟรมแรกและใช้เอฟเฟกต์ที่มีชื่อเรียกหนึ่งรายการจากทั้งหมด 154 รายการ ซึ่งเลือกด้วย `effect` เอาต์พุตเป็นวิดีโอที่ความละเอียด 360p, 540p, 720p หรือ 1080p โดยมี `duration` 5 หรือ 8 วินาที รองรับ `negative_prompt`

พารามิเตอร์

ส่งชื่อมาตรฐานหรือชื่อดั้งเดิมอย่างใดอย่างหนึ่งเท่านั้น ห้ามส่งทั้งสองชื่อ ชื่อมาตรฐาน

ชื่อประเภท ค่าเริ่มต้นค่าที่อนุญาต คำอธิบาย
effectจำเป็น
ประเภทenum
Kiss Me AIKissMuscle SurgeWarmth of JesusAnything, RobotThe Tiger TouchHugHoly WingsMicrowaveZombie ModeSquid GameBaby FaceBlack Myth: WukongLong Hair MagicLeggy RunFin-tastic Mermaid
เพิ่มเติมอีก 138 ค่าPunch FaceCreepy Devil SmileThunder GodEye Zoom ChallengeWho's Arrested?Baby ArrivedWerewolf RageBald SwipeBOOM DROPHuge CutieLiquid MetalSharksnap!Dust Me Away3D Figurine FactorBikini UpMy GirlfriendsMy BoyfriendsSubject 3 FeverEarth ZoomPole DanceVroom DanceGhostFace TerrorDragon EvokerSkeletal BaeSummoning succubusHalloween Voodoo Doll3D Naked-Eye ADPackage ExplosionDishes ServedOcean adSupermarket ADTree dollCome Feel My AbsThe Bicep FlexLondon Elite VibeFlora Nymph GownChristmas CostumeIt's SnowyReindeer CruiserSnow Globe MakerPet Christmas OutfitAdopt a Polar PalCat Christmas BoxStarlight Gift BoxXmas PosterPet Christmas TreeCity Santa HatStocking SweetieChristmas NightXmas Front Page KarmaGrinch's Xmas HijackGiant ProductTruck Fashion ShootBeach ADShoal SurroundMechanical AssemblyLighting ADBillboard ADProduct close-upParachute DeliveryDreamlike CloudMacaron MachinePoster ADTruck ADGraffiti AD3D Figurine FactoryThe Exclusive First ClassArt Zoom ChallengeI QuitHitchcock Dolly ZoomSmell the LensI believe I can flyStrikout DanceCourtside CamPit Crew MomentK-Baseball SprintToddler DoodleIdol EndingApex DanceOmniHero ForgePalm DecodeThe Age RippleMy Future Is LimitlessKnee SlideEpic Goal SaveSideline Ball BoyCup CelebrationVictory RoarVuvuzela FanWorld Champion LiftTunnel to CaptainLiquid Soccer MorphJump Into Crowd 2Golden Pitch CrasherStadium Fan CamBroadcast Moto GPThe Grotesque ClayRookie Star CardThe Final HugSharp Post-Match CommentStreet MaverickPitch LegendOne Step At A TimeBirthday MirrorSuperstar LobbyFinal Battle RoomTop of the WorldMini Me UnboxedWonderPOP SurpriseWhite ChicksKiss meWhat a DayThe Last Leap at SunsetTiny Sticker Chef ChaosMini Squeeze ToyTearful GunmanStreet Fashion CaricatureMini Me MakeoverStreet Art AwakeningHug TogetherACAI dance DuetPUBG Winner Hit!Blocky Mini-MeCheat Day BustedMiniSocial RechargeMy Little Perler CharmWhere did this cobweb come from?Holy Beast Summoning TechniqueIT'S THE FIRST OF THE MONTHPet EditorialThree lifetime bondPixel WorldMint in BoxHands up, HandFlora Nymph GoSomber EmbraceBeam me upSuit Swagger
เอฟเฟกต์ที่ใช้กับวิดีโอ
image_urlจำเป็น image
ประเภทurl · image
URL รูปภาพเฟรมแรก ซึ่งระบุได้หากต้องการใช้รูปภาพแทนการสร้างจากข้อความเพียงอย่างเดียว
resolutionไม่บังคับ
ประเภทenum
ค่าเริ่มต้น720p
360p540p720p1080p
ความละเอียดที่ใช้สำหรับวิดีโอเอาต์พุต
durationไม่บังคับ
ประเภทenum
ค่าเริ่มต้น5
58
ความยาววิดีโอเอาต์พุต วัดเป็นวินาที
negative_promptไม่บังคับ
ประเภทstring
ค่าเริ่มต้น
พรอมต์การสร้างเชิงลบที่จำกัดความยาวตามไบต์ แม้ข้อความที่ดูสั้นอาจเกินขีดจำกัด เนื่องจากอีโมจิ ตัวอักษรมีเครื่องหมายกำกับเสียง และอักขระที่ไม่ใช่ละตินใช้หลายไบต์ ค่าสูงสุดคือ 2048 ไบต์เมื่อวัดด้วย UTF-8 ไม่ใช่จำนวนอักขระ
enable_safety_checkerไม่บังคับ
ประเภทboolean
ค่าเริ่มต้นtrue
สามารถผ่อนปรนการคัดกรองได้โดยตั้งค่าเป็น false หากผู้เรียกมีสิทธิ์
จำเป็น ชื่อมาตรฐาน ซึ่งรองรับเช่นกัน

พารามิเตอร์ไฟล์รับ URL https:// สาธารณะ, data: URI ขนาดไม่เกิน 10 MB หรือ file_url ของไฟล์ที่อัปโหลด ไฟล์

เอาต์พุต

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "pixverse/v5/effects",
  "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": 200,
    "usd": "0.20",
    "charged": 200,
    "refunded": 0
  },
  "input": {
    "effect": "Kiss Me AI",
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "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/th/developers/models/pixverse/v5/effects.md. โมเดลและคู่มือทั้งหมด: https://doitong.com/developers/llms.txt