Skip to main content
POST
/
tasks
/
sunflower_simple
Sunflower Simple Inference
curl --request POST \
  --url https://api.sunbird.ai/tasks/sunflower_simple \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'instruction=<string>' \
  --data model_type=qwen \
  --data temperature=0.3 \
  --data 'system_message=<string>'
{}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/x-www-form-urlencoded
instruction
string
required

The instruction or question for the AI

model_type
string
default:qwen

Model type (qwen or gemma)

temperature
number
default:0.3

Sampling temperature

Required range: 0 <= x <= 2
system_message
string

Custom system message

Response

Successful Response

The response is of type Response Sunflower Simple Inference Tasks Sunflower Simple Post · object.