GET
/health
公开 · 服务健康检查
curl -s https://api.xntou.cn/health
应用于多模态生成场景,根据用户输入的文本、图像、视频,生成相应的文本、图像、视频。 支持通过个人令牌 xnt_live_* 或跨子域会话调用全模态招商加盟合成接口,注册即赠 2000 点创作点券。
curl -s https://api.xntou.cn/health
curl -s https://api.xntou.cn/v1/health
curl -s -X POST https://api.xntou.cn/v1/auth/register \
-H 'Content-Type: application/json' \
-d '{"username":"kunshan_demo","password":"demo123456","displayName":"昆山演示"}'
curl -s -c cookies.txt -X POST https://api.xntou.cn/v1/auth/login \
-H 'Content-Type: application/json' \
-d '{"identifier":"kunshan_demo","password":"demo123456"}'
curl -s -b cookies.txt -X POST https://api.xntou.cn/v1/auth/logout
curl -s -b cookies.txt https://api.xntou.cn/v1/auth/me
curl -s -H 'Authorization: Bearer xnt_live_你的令牌' \
-H 'Content-Type: application/json' \
-d '{"displayName":"昆山星网招商部","companyName":"昆山星网数科网络科技有限公司"}' \
https://api.xntou.cn/v1/auth/profile
curl -s -H 'Authorization: Bearer xnt_live_你的令牌' \
-H 'Content-Type: application/json' \
-d '{"oldPassword":"demo123456","newPassword":"demo654321"}' \
https://api.xntou.cn/v1/auth/password
curl -s -X POST -H 'Authorization: Bearer xnt_live_你的令牌' https://api.xntou.cn/v1/auth/reset-token
curl -s -H 'Authorization: Bearer xnt_live_你的令牌' https://api.xntou.cn/v1/credits/balance
curl -s -H 'Authorization: Bearer xnt_live_你的令牌' 'https://api.xntou.cn/v1/credits/ledger?limit=20'
curl -s https://api.xntou.cn/v1/credits/pricing
curl -s -X POST https://api.xntou.cn/v1/studio/text \
-H 'Authorization: Bearer xnt_live_你的令牌' \
-H 'Content-Type: application/json' \
-d '{"prompt":"评估昆山市中心商圈 40 平米茶饮店,月租 12000 元","tier":"standard"}'
curl -s -X POST https://api.xntou.cn/v1/studio/judge \
-H 'Authorization: Bearer xnt_live_你的令牌' \
-H 'Content-Type: application/json' \
-d '{"state":"某茶饮品牌加盟费 8 万,保证金 3 万,承诺 8 个月回本","questions":{"payback":"回本承诺是否可信","supply":"供应链是否可控"}}'
curl -s -X POST https://api.xntou.cn/v1/studio/ocr \
-H 'Authorization: Bearer xnt_live_你的令牌' \
-H 'Content-Type: application/json' \
-d '{"imageDataUrl":"data:image/jpeg;base64,...","instruction":"提取加盟合同费用与区域保护条款"}'
curl -s -X POST https://api.xntou.cn/v1/studio/image/generate \
-H 'Authorization: Bearer xnt_live_你的令牌' \
-H 'Content-Type: application/json' \
-d '{"prompt":"新式茶饮标准店门头,暖木与深绿,夜景灯箱","aspectRatio":"9:16"}'
curl -s -X POST https://api.xntou.cn/v1/studio/image/edit \
-H 'Authorization: Bearer xnt_live_你的令牌' \
-H 'Content-Type: application/json' \
-d '{"imageDataUrl":"data:image/jpeg;base64,...","prompt":"改成该茶饮品牌标准门头,保留两侧商铺"}'
curl -s -X POST https://api.xntou.cn/v1/studio/video/generate \
-H 'Authorization: Bearer xnt_live_你的令牌' \
-H 'Content-Type: application/json' \
-d '{"prompt":"加盟店开业前三秒门头亮灯,随后展示出杯","mode":"t2v"}'
curl -s -H 'Authorization: Bearer xnt_live_你的令牌' https://api.xntou.cn/v1/studio/video/123
curl -s -X POST https://api.xntou.cn/v1/studio/video/analyze \
-H 'Authorization: Bearer xnt_live_你的令牌' \
-H 'Content-Type: application/json' \
-d '{"frames":["data:image/jpeg;base64,..."],"goal":"改写前三秒钩子","videoMeta":{"duration":15},"generateFollowup":"none"}'
curl -s -X POST https://api.xntou.cn/v1/studio/audio/tts \
-H 'Authorization: Bearer xnt_live_你的令牌' \
-H 'Content-Type: application/json' \
-d '{"input":"欢迎了解昆山商圈的茶饮加盟机会。投资有风险。","voice":"Vivian"}'
curl -s -X POST https://api.xntou.cn/v1/studio/audio/music \
-H 'Authorization: Bearer xnt_live_你的令牌' \
-H 'Content-Type: application/json' \
-d '{"lyrics":"清晨开门,一杯热饮,邻里熟客","instructions":"轻快Acoustic,适合门店循环","duration":30}'
curl -s -X POST https://api.xntou.cn/v1/studio/translate \
-H 'Authorization: Bearer xnt_live_你的令牌' \
-H 'Content-Type: application/json' \
-d '{"text":"区域保护半径 500 米","sourceLang":"zh","targetLang":"en"}'
curl -s -X POST https://api.xntou.cn/v1/studio/pipeline/plan \
-H 'Content-Type: application/json' \
-d '{"nodes":["site","judge","image","audio"]}'
curl -s -H 'Authorization: Bearer xnt_live_你的令牌' 'https://api.xntou.cn/v1/works?limit=20'
curl -s -H 'Authorization: Bearer xnt_live_你的令牌' https://api.xntou.cn/v1/works/123
curl -s -X DELETE -H 'Authorization: Bearer xnt_live_你的令牌' https://api.xntou.cn/v1/works/123
curl -s https://api.xntou.cn/v1/public/algorithm
curl -s 'https://api.xntou.cn/v1/public/showcase?featured=1&limit=12'
curl -s https://api.xntou.cn/v1/public/cities/kunshan
curl -s 'https://api.xntou.cn/v1/public/projects?industrySlug=new-tea'
curl -s https://api.xntou.cn/v1/public/guides
curl -s -X POST https://api.xntou.cn/v1/compliance/report \
-H 'Content-Type: application/json' \
-d '{"reporterContact":"compliance@example.com","reportType":"deepfake","description":"该海报疑似冒用品牌门头"}'
深度合成算法官方平台
新用户注册即赠 2000 点创作点券。未登录也可浏览全部公开内容。