认证
authorization string 必填
所有 API 都需要通过 Bearer Token 进行认证
获取 API Key:
访问 API Key 管理页面 获取您的 API Key
使用方法:
添加到请求头:
Authorization: Bearer YOUR_API_KEY
参数
model string 必填
请求使用的模型 ID
值:ultra_effects_solo
effect_scene string 必填
特效场景。支持 100+ 种单人交互特效,包括:baseball、inner_voice、a_list_look、memory_alive、trampoline、pucker_up、guess_what、feed_mooncake、rampage_ape、flyer、dishwasher、pet_chinese_opera、magic_fireball、gallery_ring、pet_moto_rider、muscle_pet、squeeze_scream、pet_delivery、running_man、disappear、mythic_style、steampunk、c4d_cartoon、3d_cartoon_1、3d_cartoon_2、eagle_snatch、hug_from_past、firework、media_interview、pet_lion、pet_chef、santa_gifts、santa_hug、girlfriend、boyfriend、heart_gesture_1、pet_wizard、smoke_smoke、thumbs_up、instant_kid、dollar_rain、cry_cry、building_collapse、gun_shot、mushroom、double_gun、pet_warrior、lightning_power、jesus_hug、shark_alert、long_hair、lie_flat、polar_bear_hug、brown_bear_hug、jazz_jazz、office_escape_plow、fly_fly、watermelon_bomb、pet_dance、boss_coming、wool_curly、pet_bee、marry_me、swing_swing、day_to_night、piggy_morph、wig_out、car_explosion、ski_ski、tiger_hug、siblings、construction_worker、lets_ride、snatched、magic_broom、felt_felt、jumpdrop、celebration、splash、surfsurf、fairy_wing、angel_wing、dark_wing、skateskate、plushcut、jelly_press、jelly_slice、jelly_squish、jelly_jiggle、pixelpixel、yearbook、instant_film、anime_figure、rocket、bloombloom、dizzydizzy、fuzzyfuzzy、squish、expansion、hug、kiss、heart_gesture、fight 等
images array 必填
图像 URL 列表。每个 URL 必须是有效的 HTTP 或 HTTPS URL
duration string 必填
视频时长(秒)
错误码
| 代码 | 描述 |
|---|---|
| 401 | API key 缺失或无效 |
| 403 | 余额不足或权限被拒绝 |
| 429 | 请求频率超限 |
| 500 | 内部服务器错误 |