Help us improve these docs. Take our quick survey.
curl --request POST \
--url https://api.example.com/image/create \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "<string>",
"inputs": {
"model": "<string>",
"prompt": "<string>",
"n": 123
},
"wb_user_id": "<string>",
"track_llm_call": true
}
'{
"response": {},
"weave_call_id": "<string>"
}curl --request POST \
--url https://api.example.com/image/create \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "<string>",
"inputs": {
"model": "<string>",
"prompt": "<string>",
"n": 123
},
"wb_user_id": "<string>",
"track_llm_call": true
}
'{
"response": {},
"weave_call_id": "<string>"
}Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Show child attributes
Ne définissez pas ce champ directement. Le serveur le renseignera automatiquement.
Indique s'il faut suivre cet appel de génération d'image dans le serveur de traces
Cette page vous a-t-elle été utile ?