Glif(Image-to-GIF)
POST
/glifapi/clz9yhrf7000010j2eg5zwlp3Upload a photo, animate the image using AI, and generate a GIF.
Glif is a bot-building platform similar to Coze: https://glif.app/
Through this API, you can quickly integrate Glif's functions.
Price: 0.01 PTC / call
请求参数
Header Params
Authorization
string
optional
API Key from 302.AI backend
Example:
Bearer {{YOUR_API_KEY}}
Body Params application/json
inputs
object
optional
image
string
required
image url
add-prompt
string
optional
Prompts for generating GIF
Example
{
"inputs": {
"image": "https://file.302.ai/gpt/imgs/20240715/723f00f0ca904af48bcea8b525b48c00.png",
"add-prompt": ""
}
}
示例代码
Responses
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: 2 个月前