Добавить задачу на создание отдаленного изображения
Запрос требует наличия хотя-бы одного действий в задаче, которая передается в запросе в параметр taskId
{
"id": "6558a64b03761c00010775b7",
"parentId": "6558a19c0bfe4600011437cd",
"object": "task",
"type": "outpaint_50",
"actions": [],
"percent": 0,
"status": "idle",
"result": null,
"error": null,
"usage": {
"prompt_tokens": 0,
"completion_tokens": 1,
"total_tokens": 1,
"prompt_cost": 0,
"completion_cost": 18,
"total_cost": 18
}
}
{
"error": {
"message": "'zoom' is a required property",
"type": "invalid_request_error",
"param": null,
"code": null
}
}
{
"error": {
"message": "Organization balance is too low to use API",
"type": "insufficient_balance_error",
"param": null,
"code": null
}
}
{
"error": {
"message": "Unauthorized",
"type": "unauthorized_request_error",
"param": null,
"code": null,
}
}
{
"id": "6558a64b03761c00010775b7",
"parentId": "6558a19c0bfe4600011437cd",
"object": "task",
"type": "outpaint_50",
"actions": [],
"percent": 0,
"status": "idle",
"result": null,
"error": null,
"usage": {
"prompt_tokens": 0,
"completion_tokens": 1,
"total_tokens": 1,
"prompt_cost": 0,
"completion_cost": 18,
"total_cost": 18
}
}
{
"id": "6558a64b03761c00010775b7",
"parentId": "6558a19c0bfe4600011437cd",
"object": "task",
"type": "outpaint_50",
"actions": [
"upsamle_1",
"upsamle_2",
"upsamle_3",
"upsamle_4",
"reroll",
"variation_1",
"variation_2",
"variation_4",
"variation_4"
],
"percent": 100,
"status": "done",
"result": "https://gptunnel.ru/task/image/6558a64b03761c00010775b7?cache=100",
"error": null,
"usage": {
"prompt_tokens": 0,
"completion_tokens": 0,
"total_tokens": 0,
"prompt_cost": 0,
"completion_cost": 0,
"total_cost": 0
}
}