33 lines
805 B
Bash

#!/bin/sh
# curl -v --location --request POST 'https://api.tu-zi.com/v1/chat/completions' \
# --header 'Content-Type: application/json' \
# --header 'Authorization: Bearer sk-...' \
# --data-raw '{
# "model": "gpt-4-gizmo-g-2fkFE8rbu",
# "messages": [
# {
# "role": "user",
# "content": "你是谁"
# }
# ],
# "stream": false
# }'
# echo
curl -v --location --request POST 'https://animator-gg-api.ca2324.servep2p.com:8443/api/fal/proxy' \
--header 'Content-Type: application/json' \
--header 'x-fal-target-url: https://api.tu-zi.com/v1/chat/completions' \
--data-raw '{
"model": "gpt-4-gizmo-g-2fkFE8rbu",
"messages": [
{
"role": "user",
"content": "你是谁"
}
],
"stream": false
}'
echo