Skip to main content
POST
/
publish
发布到 Feed
curl --request POST \
  --url https://api.kira.art/publish \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "imageId": "<string>",
  "toolCallId": "<string>",
  "toolName": "<string>",
  "seed": 123,
  "prompt": "<string>",
  "width": 123,
  "height": 123
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Supabase JWT Token

Body

application/json
imageId
string
required
toolCallId
string
toolName
string
seed
integer
prompt
string
width
integer
height
integer

Response

200 - application/json

发布成功

message
string
required