メインコンテンツへスキップ
POST
/
v1
/
images
/
upload
画像アセットをアップロード
curl --request POST \
  --url https://apiany.ai/v1/images/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "url": "<string>"
}

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

ボディ

multipart/form-data
file
file
必須

レスポンス

200 - application/json

アップロード後のアセット URL。

url
string<uri>
必須