图片列表(以图片ID获取)
请求URL:
/getImageListByIds
请求方式:
- POST
header:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| Authorization | 是 | string | 授权token |
参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| appId | 是 | string | 无 |
| udid | 是 | string | 无 |
| paramIds | 是 | []uint | 视频ID列表 |
返回示例
{
"code": 200,
"msg": "SUCCESS",
"data": [
{
"id": 41,
"title": "House Robbed I",
"description": "OMFG! Our house just got robbed!!",
"covering": {
"before": "https://muyuhan.s3.amazonaws.com/facewap/img_temp/prank/House+Robbed+I_Base.webp",
"after": "https://muyuhan.s3.amazonaws.com/facewap/img_temp/prank/House+Robbed+I_Gen.webp"
},
"prompt": "Only modify the environment details without changing the room layout, camera angle, framing, or background. Do not recompose the image. Edit the image to make the house appear recently robbed, with drawers pulled open, cabinets ajar, items slightly displaced, cushions shifted, and a few belongings scattered on surfaces or the floor. Add subtle realism like an open closet, tipped trash can, or unplugged electronics, but no people, no weapons, and no damage like broken doors or glass. Style the image as an unedited iPhone photo with natural indoor lighting, slight noise, and casual framing. Preserve the original lighting direction, shadows, perspective, and camera angle exactly so the changes look realistic and seamlessly integrated.",
"images": null,
"apiType": 1,
"price": 50,
"isShow": 1,
"isAudit": 1,
"sort": 0,
"updatedAt": 1770090433
},
{
"id": 42,
"title": "House Robbed II",
"description": "OMFG! Our house just got robbed!!",
"covering": {
"before": "https://muyuhan.s3.amazonaws.com/facewap/img_temp/prank/House+Robbed+II_Base.webp",
"after": "https://muyuhan.s3.amazonaws.com/facewap/img_temp/prank/House+Robbed+II_Gen.webp"
},
"prompt": "Only modify the environment details without changing the room layout, camera angle, framing, or background. Do not recompose the image. Edit the image to make the house appear recently robbed, with drawers pulled open, cabinets ajar, items slightly displaced, cushions shifted, and a few belongings scattered on surfaces or the floor. Add subtle realism like an open closet, tipped trash can, or unplugged electronics, but no people, no weapons, and no damage like broken doors or glass. Style the image as an unedited iPhone photo with natural indoor lighting, slight noise, and casual framing. Preserve the original lighting direction, shadows, perspective, and camera angle exactly so the changes look realistic and seamlessly integrated.",
"images": null,
"apiType": 1,
"price": 50,
"isShow": 1,
"isAudit": 0,
"sort": 0,
"updatedAt": 1770018094
},
{
"id": 43,
"title": "House on Fire",
"description": "OMFG! The house is on fire!!",
"covering": {
"before": "https://muyuhan.s3.amazonaws.com/facewap/img_temp/prank/House+on+Fire+I_Base.webp",
"after": "https://muyuhan.s3.amazonaws.com/facewap/img_temp/prank/House+on+Fire+I_Gen.webp"
},
"prompt": "Edit the image to make the house appear clearly on fire, with large, active flames coming from multiple windows and spreading across sections of the roof, thick but realistic smoke rising upward, and a strong orange glow reflecting on the exterior walls, ground, and nearby objects. The structure should still be intact (no collapse, no explosions), and keep it non-graphic (no people, no injuries). Preserve the original house structure, background, framing, camera angle, perspective, and shadows exactly. Style the result as an unedited iPhone photo with natural daylight or dusk lighting, slight noise, and casual framing so the fire looks convincingly real and seamlessly integrated.",
"images": null,
"apiType": 1,
"price": 50,
"isShow": 1,
"isAudit": 0,
"sort": 0,
"updatedAt": 1770018094
},
{
"id": 44,
"title": "Braided Crown",
"description": "See how you look in new hairstyles!",
"covering": {
"before": "https://muyuhan.s3.amazonaws.com/facewap/img_temp/swap/virtual/Virtual+Salon_Base.webp",
"after": "https://muyuhan.s3.amazonaws.com/facewap/img_temp/swap/virtual/Virtual+Salon_Braided+Crown.webp"
},
"prompt": "In a natural, realistic style, transform the hairstyle of the person in the first image to perfectly match the hairstyle of the person in the second image — including texture, volume, parting, and any styling details such as braids, curls, or accessories. Ensure the change is seamless and anatomically accurate, preserving facial features and expression while altering only the hair. The result should look authentic, as if captured in a high-resolution photograph, with consistent lighting and background context. No additional elements or edits should be introduced — focus solely on the hairstyle transformation.",
"images": [
"https://muyuhan.s3.amazonaws.com/facewap/img_temp/swap/virtual/Virtual+Salon_Braided+Crown.webp",
"https://muyuhan.s3.amazonaws.com/facewap/img_temp/swap/virtual/Virtual+Salon_Double+Braids.webp",
"https://muyuhan.s3.amazonaws.com/facewap/img_temp/swap/virtual/Virtual+Salon_Frech+Braid.webp",
"https://muyuhan.s3.amazonaws.com/facewap/img_temp/swap/virtual/Virtual+Salon_Glam+Curls.webp",
"https://muyuhan.s3.amazonaws.com/facewap/img_temp/swap/virtual/Virtual+Salon_High+Pony.webp",
"https://muyuhan.s3.amazonaws.com/facewap/img_temp/swap/virtual/Virtual+Salon_Shaggy+Bob.webp",
"https://muyuhan.s3.amazonaws.com/facewap/img_temp/swap/virtual/Virtual+Salon_Short+Sleek.webp",
"https://muyuhan.s3.amazonaws.com/facewap/img_temp/swap/virtual/Virtual+Salon_Side+Braid.webp",
"https://muyuhan.s3.amazonaws.com/facewap/img_temp/swap/virtual/Virtual+Salon_Sleek+Straight.webp",
"https://muyuhan.s3.amazonaws.com/facewap/img_temp/swap/virtual/Virtual+Salon_Wild+Curls.webp"
],
"apiType": 2,
"price": 50,
"isShow": 1,
"isAudit": 1,
"sort": 0,
"updatedAt": 1770090435
}
]
}
返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | int | 状态码 |
| msg | string | 提示信息 |
| data | array | 数据 |
| - id | uint | 唯一ID |
| - title | string | 视频标题 |
| - prompt | string | 提示词 |
| - thumb | string | 缩率图 |
| - covering | map | 封面图 |
| - author | string | 视频来源 |
| - createdAt | int64 | 视频生成时间 |
| - updatedAt | int64 | 视频更新时间 |
备注 错误码: 510 系统异常 800 参数错误