Files

10 lines
228 B
Bash

curl -X POST \
"$FLOW_SERVER_URL/v1/responses" \
-H "x-api-key: $FLOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "$FLOW_ID",
"input": "Tell me a story about a robot",
"stream": true
}'