【献爱心】1000次gpt-4o对话,100次dalle3生图送给大家玩耍
用完即止,支持流式,不限上下文,调用姿势如官网
认证:Bearer yigexiaoxijie
对话:https://kvme.xyz/v1/chat/completions
生图:https://kvme.xyz/v1/images/generations
余量:https://kvme.xyz/v1/usage?token=yigexiaoxijie
姿势:
curl https://kvme.xyz/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer yigexiaoxijie" \
-d '{
"model": "dall-e-3",
"prompt": "a white siamese cat",
"n": 1,
"size": "1024x1024"
}'
curl https://kvme.xyz/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer yigexiaoxijie" \
-d '{
"model": "gpt-4o",
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "What’s in this image?"
},
{
"type": "image_url",
"image_url": {
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg"
}
}
]
}
],
"max_tokens": 300
}'