发起作画
POST
/avatar/artwork/create发起作画
请求参数
Body 参数application/json
No schema defined
示例
{
"avatar_key": "666A1E42BB02FBA6E530269352FF086B",
"prompt": "夜幕下的赛博朋克城市",
"artwork_templates": [
{
"template_key": "7795F4C854A4E053D314FA805C4EB742",
"number": 2
}
],
"notify_url": "www.bertha-gottlieb.io"
}
示例代码
返回响应
OK(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
No schema defined
示例test data
{
"code": "200",
"message": "success",
"data": {
"keys": [
"3E46BF62A51256A96EEFB73079BD55E2",
"66FB4071D5647F5F8CD702AC1910AA5D"
],
"results": [
{
"template_key": "7795F4C854A4E053D314FA805C4EB742",
"key": "C5B5FE8DBF3679D9049342C130341BD9",
"expected_second": 12
}
],
"expected_integral_cost": 2
}
}
最后修改时间: 4 个月前