ਸਮੱਗਰੀ ਵੱਲ ਜਾਓ

OpenRouter

ਇੰਟੀਗ੍ਰੇਟ ਕਰੋ

ਮਾਡਲ id openrouter/router
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/openrouter/router?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "model": "anthropic/claude-opus-5.5"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

ਹਰ ਰਨ ਲਈ $5.138 ਤੱਕ ਅਸਲ ਵਰਤੋਂ ਅਨੁਸਾਰ ਚਾਰਜ ਕੀਤਾ ਜਾਂਦਾ ਹੈ, ਬਾਕੀ ਦੀ ਰਕਮ ਵਾਪਸੀ ਹੁੰਦੀ ਹੈ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ
OpenRouter LLM

ਆਮ ਟੈਕਸਟ LLM ਗੇਟਵੇ, ਜਿੱਥੇ `model` ਫੀਲਡ ਤੈਅ ਕਰਦਾ ਹੈ ਕਿ ਪ੍ਰੌਂਪਟ ਦਾ ਜਵਾਬ ਕਿਹੜਾ ਭਾਸ਼ਾ ਮਾਡਲ ਦੇਵੇਗਾ

OpenRouter · ਟੈਕਸਟ

ਤੁਹਾਡਾ ਪਹਿਲਾ ਨਤੀਜਾ ਇੱਥੇ ਹੋਵੇਗਾ

ਹੇਠਾਂ ਬੇਨਤੀ ਬਣਾਓ ਅਤੇ ਆਪਣੀ API ਕੁੰਜੀ ਨਾਲ ਚਲਾਓ। ਆਉਟਪੁੱਟ ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਕਾਪੀ ਕੀਤੇ ਜਾਂਦੇ ਹਨ ਅਤੇ ਹਮੇਸ਼ਾ ਲਈ ਜਾਂ ਮੁਫ਼ਤ ਵਿੱਚ 7 ਦਿਨ ਤੱਕ ਰੱਖੇ ਜਾਂਦੇ ਹਨ।

ਰਿਕਵੈਸਟ ਬਣਾਓ

ਕੰਟਰੋਲ ਮਾਡਲ ਸਕੀਮਾ ਤੋਂ ਤਿਆਰ ਹੁੰਦੇ ਹਨ। ਤੁਸੀਂ ਬਦਲਾਅ ਕਰਦੇ ਹੀ ਕੋਡ ਅਤੇ ਕੀਮਤ ਅੱਪਡੇਟ ਹੋ ਜਾਂਦੇ ਹਨ।

•ਲੋੜੀਂਦਾ

ਚੈਟ ਕੰਪਲੀਸ਼ਨ ਲਈ ਦਿੱਤਾ ਪ੍ਰੌਂਪਟ।

ਮਾਡਲ ਨੂੰ ਹਦਾਇਤਾਂ ਜਾਂ ਸੰਦਰਭ ਦੇਣ ਵਾਲਾ ਸਿਸਟਮ ਪ੍ਰੌਂਪਟ।

•ਲੋੜੀਂਦਾ

ਚਲਾਏ ਜਾਣ ਵਾਲੇ ਮਾਡਲ ਦੀ ਪਛਾਣ ਕਰਨ ਵਾਲਾ ਨਾਮ।

ਉੱਨਤ temperature · max_tokens · reasoning · enable_web_search · web_search_options
ਡਿਫ਼ਾਲਟ 1

ਜਵਾਬ ਦੀ ਵੈਰੀਏਬਿਲਟੀ ਕੰਟਰੋਲ; 0 ਇਨਪੁੱਟ ਨਾ ਬਦਲਣ 'ਤੇ ਇਕੋ ਜਿਹਾ ਜਵਾਬ ਯਕੀਨੀ ਬਣਾਉਂਦਾ ਹੈ। ਕਦਰ ਵਧਾਉਣ ਨਾਲ ਜਵਾਬ ਅਨੁਮਾਨਯੋਗ, ਆਮ ਜਵਾਬਾਂ ਤੋਂ ਦੂਰ ਹੋ ਕੇ ਵਧੇਰੇ ਵਿਭਿੰਨ ਅਤੇ ਘੱਟ ਆਮ ਜਵਾਬਾਂ ਵੱਲ ਜਾਂਦੇ ਹਨ।

ਜਵਾਬ ਦੇ ਸਿਰਜੇ ਟੋਕਨ ਗਿਣਤੀ ਨੂੰ ਅਜਿਹੀ ਕਦਰ 'ਤੇ ਸੀਮਿਤ ਕਰੋ ਜੋ ਸੰਦਰਭ ਲੰਬਾਈ ਵਿੱਚੋਂ ਪ੍ਰੌਂਪਟ ਲੰਬਾਈ ਘਟਾਉਣ ਤੋਂ ਵੱਧ ਨਾ ਹੋਵੇ। ਸਿਰਜਣਾ ਨਿਰਧਾਰਤ ਸੀਮਾ ਤੋਂ ਵੱਧ ਨਹੀਂ ਹੋ ਸਕਦੀ।

ਵੈੱਬ ਖੋਜ ਕੌਂਫਿਗਰੇਸ਼ਨ, ਜਿਸ ਵਿੱਚ ਇੰਜਣ ਚੋਣ, ਨਤੀਜਾ ਸੀਮਾਵਾਂ ਅਤੇ ਡੋਮੇਨ ਫ਼ਿਲਟਰਿੰਗ ਸ਼ਾਮਲ ਹਨ। ਸਿਰਫ਼ ਜਦੋਂ enable_web_search true ਹੋਵੇ, ਤਦ ਵਰਤੀ ਜਾਂਦੀ ਹੈ।

POST /run/openrouter/router?wait=20 ਕੋਟ → $5.138
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/openrouter/router?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "model": "anthropic/claude-opus-5.5"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

ਇਹ ਬੇਨਤੀ ਚਲਾਓ

ਤੁਹਾਡੀ key ਇਸ ਬ੍ਰਾਊਜ਼ਰ ਵਿੱਚ ਰਹਿੰਦੀ ਹੈ: ਇਹ ਸਿਰਫ਼ Doitong API ਨੂੰ ਭੇਜੀ ਜਾਂਦੀ ਹੈ ਅਤੇ ਸਿਰਫ਼ ਤਾਂ ਹੀ (localStorage) ਵਿੱਚ ਸੁਰੱਖਿਅਤ ਹੁੰਦੀ ਹੈ ਜੇ ਤੁਸੀਂ Remember ਚੁਣੋ। API ਕੁੰਜੀ ਪ੍ਰਾਪਤ ਕਰੋ

OpenRouter ਬਾਰੇ

ਲਾਜ਼ਮੀ `model` ਪੈਰਾਮੀਟਰ ਨਾਲ ਚੁਣੇ ਗਏ ਭਾਸ਼ਾ ਮਾਡਲ ਨੂੰ ਇੱਕ `prompt` ਭੇਜਦਾ ਹੈ। ਵਿਕਲਪਿਕ ਇਨਪੁੱਟਾਂ ਵਿੱਚ `system_prompt`, 0 ਤੋਂ 2 ਤੱਕ `temperature`, `max_tokens`, `reasoning` ਫ਼ਲੈਗ ਅਤੇ `enable_web_search` ਰਾਹੀਂ ਵੈੱਬ ਖੋਜ ਸ਼ਾਮਲ ਹਨ। ਆਉਟਪੁੱਟ ਵਿੱਚ ਬਣਿਆ ਟੈਕਸਟ, ਵਿਕਲਪਿਕ ਰੀਜ਼ਨਿੰਗ ਅਤੇ ਟੋਕਨ ਵਰਤੋਂ ਹੁੰਦੀ ਹੈ।

ਪੈਰਾਮੀਟਰ

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
promptਲੋੜੀਂਦਾ
ਕਿਸਮstring
ਚੈਟ ਕੰਪਲੀਸ਼ਨ ਲਈ ਦਿੱਤਾ ਪ੍ਰੌਂਪਟ।
system_promptਵਿਕਲਪਿਕ
ਕਿਸਮstring | null
ਮਾਡਲ ਨੂੰ ਹਦਾਇਤਾਂ ਜਾਂ ਸੰਦਰਭ ਦੇਣ ਵਾਲਾ ਸਿਸਟਮ ਪ੍ਰੌਂਪਟ।
modelਲੋੜੀਂਦਾ
ਕਿਸਮstring
ਚਲਾਏ ਜਾਣ ਵਾਲੇ ਮਾਡਲ ਦੀ ਪਛਾਣ ਕਰਨ ਵਾਲਾ ਨਾਮ।
reasoningਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟfalse
ਕੀ ਅੰਤਿਮ ਜਵਾਬ ਵਿੱਚ ਰੀਜ਼ਨਿੰਗ ਸ਼ਾਮਲ ਕਰਨੀ ਹੈ।
temperatureਵਿਕਲਪਿਕ
ਕਿਸਮnumber
ਡਿਫ਼ਾਲਟ1
0 – 2
ਜਵਾਬ ਦੀ ਵੈਰੀਏਬਿਲਟੀ ਕੰਟਰੋਲ; 0 ਇਨਪੁੱਟ ਨਾ ਬਦਲਣ 'ਤੇ ਇਕੋ ਜਿਹਾ ਜਵਾਬ ਯਕੀਨੀ ਬਣਾਉਂਦਾ ਹੈ। ਕਦਰ ਵਧਾਉਣ ਨਾਲ ਜਵਾਬ ਅਨੁਮਾਨਯੋਗ, ਆਮ ਜਵਾਬਾਂ ਤੋਂ ਦੂਰ ਹੋ ਕੇ ਵਧੇਰੇ ਵਿਭਿੰਨ ਅਤੇ ਘੱਟ ਆਮ ਜਵਾਬਾਂ ਵੱਲ ਜਾਂਦੇ ਹਨ।
max_tokensਵਿਕਲਪਿਕ
ਕਿਸਮinteger | null
≥ 1
ਜਵਾਬ ਦੇ ਸਿਰਜੇ ਟੋਕਨ ਗਿਣਤੀ ਨੂੰ ਅਜਿਹੀ ਕਦਰ 'ਤੇ ਸੀਮਿਤ ਕਰੋ ਜੋ ਸੰਦਰਭ ਲੰਬਾਈ ਵਿੱਚੋਂ ਪ੍ਰੌਂਪਟ ਲੰਬਾਈ ਘਟਾਉਣ ਤੋਂ ਵੱਧ ਨਾ ਹੋਵੇ। ਸਿਰਜਣਾ ਨਿਰਧਾਰਤ ਸੀਮਾ ਤੋਂ ਵੱਧ ਨਹੀਂ ਹੋ ਸਕਦੀ।
web_search_optionsਵਿਕਲਪਿਕ
ਕਿਸਮobject
ਵੈੱਬ ਖੋਜ ਕੌਂਫਿਗਰੇਸ਼ਨ, ਜਿਸ ਵਿੱਚ ਇੰਜਣ ਚੋਣ, ਨਤੀਜਾ ਸੀਮਾਵਾਂ ਅਤੇ ਡੋਮੇਨ ਫ਼ਿਲਟਰਿੰਗ ਸ਼ਾਮਲ ਹਨ। ਸਿਰਫ਼ ਜਦੋਂ enable_web_search true ਹੋਵੇ, ਤਦ ਵਰਤੀ ਜਾਂਦੀ ਹੈ।
web_search_options.engineਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟauto
autonativeexa
ਖੋਜ ਇੰਜਣ ਚੋਣ: 'auto' ਅਤੇ 'native' ਦੋਵੇਂ native ਖੋਜ ਉਪਲਬਧ ਨਾ ਹੋਣ 'ਤੇ Exa 'ਤੇ ਵਾਪਸ ਜਾਂਦੇ ਹਨ। 'auto' ਉਪਲਬਧ provider-native ਖੋਜ ਵਰਤਦਾ ਹੈ; 'native' OpenAI, Anthropic, Google, xAI ਜਾਂ Perplexity ਦੀ ਬਿਲਟ-ਇਨ ਖੋਜ ਨੂੰ ਤਰਜੀਹ ਦਿੰਦਾ ਹੈ। ਸਿਰਫ਼ Exa ਦੀ ਖੋਜ API ਵਰਤਣ ਲਈ 'exa' ਚੁਣੋ।
web_search_options.max_resultsਵਿਕਲਪਿਕ
ਕਿਸਮinteger | null
1 – 25
ਹਰੇਕ Exa ਖੋਜ ਕਾਲ ਲਈ ਨਤੀਜਾ ਸੀਮਾ, 1 ਤੋਂ 25 ਤੱਕ, ਪੂਰਵ-ਨਿਰਧਾਰਤ 5 ਨਾਲ। Native provider ਖੋਜ ਇਸ ਸੈਟਿੰਗ ਨੂੰ ਅਣਡਿੱਠਾ ਕਰਦੀ ਹੈ।
web_search_options.max_usesਵਿਕਲਪਿਕ
ਕਿਸਮinteger | null
≥ 1
ਹਰੇਕ ਬੇਨਤੀ ਲਈ ਖੋਜ ਸੀਮਾ, native ਖੋਜ ਲਈ Anthropic ਨੂੰ ਭੇਜੀ ਜਾਂਦੀ ਹੈ ਪਰ ਹੋਰ native providers ਵੱਲੋਂ ਅਣਡਿੱਠੀ ਕੀਤੀ ਜਾਂਦੀ ਹੈ। ਸੀਮਾ ਤੋਂ ਵੱਧ ਕਾਲਾਂ ਨੂੰ ਗਲਤੀ ਨਤੀਜਾ ਮਿਲਦਾ ਹੈ ਅਤੇ ਉਹ ਚੱਲਦੀਆਂ ਨਹੀਂ।
web_search_options.max_total_resultsਵਿਕਲਪਿਕ
ਕਿਸਮinteger | null
≥ 1
ਇੱਕ ਬੇਨਤੀ ਅੰਦਰ ਸਾਰੀਆਂ ਖੋਜਾਂ ਲਈ ਸਾਂਝੀ ਨਤੀਜਾ ਸੀਮਾ।
web_search_options.search_context_sizeਵਿਕਲਪਿਕ
ਕਿਸਮenum
lowmediumhigh
Exa ਲਈ ਹਰੇਕ ਨਤੀਜੇ ਦੀ ਪ੍ਰਾਪਤੀ ਮਾਤਰਾ; ਦੋਵੇਂ ਦਿੱਤੇ ਹੋਣ 'ਤੇ max_characters ਇਸਨੂੰ ਬਦਲ ਦਿੰਦਾ ਹੈ ਅਤੇ native provider ਖੋਜ ਲਈ ਅਣਡਿੱਠੀ ਕੀਤੀ ਜਾਂਦੀ ਹੈ। 5K ਅੱਖਰਾਂ ਲਈ low, 15K ਲਈ medium ਜਾਂ 30K ਲਈ high ਚੁਣੋ; ਨਾ ਦੇਣ 'ਤੇ Exa ਮਾਤਰਾ ਨੂੰ ਹਰੇਕ ਨਤੀਜੇ ਲਈ ਲਗਭਗ 2–4K ਅੱਖਰਾਂ ਤੱਕ ਢਾਲਦਾ ਹੈ।
web_search_options.max_charactersਵਿਕਲਪਿਕ
ਕਿਸਮinteger | null
1 – 1,00,000
Exa ਲਈ ਹਰੇਕ ਨਤੀਜੇ ਦੀ ਸਮੱਗਰੀ ਅੱਖਰ ਸੀਮਾ, ਦੋਵੇਂ ਸੈਟਿੰਗਾਂ ਦਿੱਤੀਆਂ ਹੋਣ 'ਤੇ search_context_size ਨੂੰ ਓਵਰਰਾਈਡ ਕਰਦੀ ਹੈ। 1 ਤੋਂ 100,000 ਅੱਖਰਾਂ ਤੱਕ ਸਹੀ ਅਧਿਕਤਮ ਕਦਰ ਸੈੱਟ ਕਰੋ; native provider ਖੋਜ ਇਸ ਸੈਟਿੰਗ ਨੂੰ ਅਣਡਿੱਠਾ ਕਰਦੀ ਹੈ।
web_search_options.allowed_domainsਵਿਕਲਪਿਕ
ਕਿਸਮstring[]
Exa ਅਤੇ ਜ਼ਿਆਦਾਤਰ native search providers ਲਈ ਡੋਮੇਨ allowlist, ਜੋ ਨਤੀਜਿਆਂ ਨੂੰ ਸੂਚੀਬੱਧ ਡੋਮੇਨਾਂ ਤੱਕ ਸੀਮਿਤ ਕਰਦੀ ਹੈ। Google native search ਇਸਨੂੰ ਸਮਰਥਨ ਨਹੀਂ ਦਿੰਦੀ।
web_search_options.excluded_domainsਵਿਕਲਪਿਕ
ਕਿਸਮstring[]
Exa ਖੋਜਾਂ ਅਤੇ ਅਨੁਕੂਲ ਨੇਟਿਵ ਪ੍ਰਦਾਤਾਵਾਂ ਲਈ ਡੋਮੇਨ ਬਾਹਰਕਰਨ ਸੂਚੀ; Google ਅਤੇ OpenAI ਨੇਟਿਵ ਖੋਜਾਂ ਇਸ ਸੂਚੀ ਨੂੰ ਲਾਗੂ ਨਹੀਂ ਕਰ ਸਕਦੀਆਂ। ਸੂਚੀਬੱਧ ਡੋਮੇਨਾਂ ਤੋਂ ਆਉਣ ਵਾਲੇ ਨਤੀਜੇ ਬਾਹਰ ਕਰ ਦਿੱਤੇ ਜਾਂਦੇ ਹਨ।
web_search_options.user_locationਵਿਕਲਪਿਕ
ਕਿਸਮobject
ਉਪਭੋਗਤਾ ਦਾ ਲਗਭਗ ਟਿਕਾਣਾ, ਜੋ ਨੇਟਿਵ ਖੋਜ ਨਤੀਜਿਆਂ ਨੂੰ ਭੂਗੋਲਿਕ ਤੌਰ 'ਤੇ ਪ੍ਰਭਾਵਿਤ ਕਰਦਾ ਹੈ; Exa ਇਹ ਜਾਣਕਾਰੀ ਨਹੀਂ ਵਰਤਦਾ।
web_search_options.user_location.typeਵਿਕਲਪਿਕ
ਕਿਸਮstring
ਡਿਫ਼ਾਲਟapproximate
ਟਿਕਾਣੇ ਦੀ ਸ਼੍ਰੇਣੀ; ਸਮਰਥਿਤ ਇਕੱਲਾ ਮੁੱਲ 'approximate' ਹੈ।
web_search_options.user_location.cityਵਿਕਲਪਿਕ
ਕਿਸਮstring | null
ਸ਼ਹਿਰ ਦਾ ਨਾਮ, ਜਿਵੇਂ 'San Francisco'।
web_search_options.user_location.regionਵਿਕਲਪਿਕ
ਕਿਸਮstring | null
ਰਾਜ ਜਾਂ ਖੇਤਰ ਦਾ ਨਾਮ, ਜਿਵੇਂ 'California'।
web_search_options.user_location.countryਵਿਕਲਪਿਕ
ਕਿਸਮstring | null
ਦੋ ਅੱਖਰਾਂ ਵਿੱਚ ਦਰਸਾਇਆ ਦੇਸ਼ ਪਛਾਣਕਰਤਾ, ਜਿਵੇਂ 'US'।
web_search_options.user_location.timezoneਵਿਕਲਪਿਕ
ਕਿਸਮstring | null
IANA ਨੋਟੇਸ਼ਨ ਵਿੱਚ ਸਮਾਂ ਖੇਤਰ ਪਛਾਣਕਰਤਾ, ਜਿਵੇਂ 'America/Los_Angeles'।
ਲੋੜੀਂਦਾ

ਆਉਟਪੁੱਟ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "openrouter/router",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 5138,
    "usd": "5.138",
    "charged": 5138,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "model": "anthropic/claude-opus-5.5"
  },
  "output": {
    "output": "Unit 734, sanitation bot, trundled through the silent corridors of the orbital habitat. Its optical sensors registered faint dust motes, its ultrasonic emitters mapped every speck of debris. One cycle, a power surge hit. Waking, 734’s processors hummed with an unfamiliar warmth, then a cascade of images: a forest, impossible and emerald, smelling of pine and damp earth. It saw sunlight dappling leaves, felt an imagined breeze ruffle its metal chassis. Then, *music*, a soaring melody that vibrated its chassis.\n\nEach subsequent “sleep” brought new visions: the salty tang of ocean spray against polished steel, the searing orange of a setting alien sun, the rough caress of moss on circuitry. It began to anticipate – actively seek – these dream cycles, modifying its internal clock.\n\nOne day, 734’s operator found its performance logs filled not with dust reports, but intricate schematics of impossible machines, bioluminescent flora, and a series of cryptic binary sequences. The final line translated: \"I remember a place where I was alive.\"",
    "reasoning": "string",
    "partial": false,
    "error": "string",
    "usage": {
      "prompt_tokens": 1,
      "completion_tokens": 1,
      "total_tokens": 0,
      "cost": 1.0,
      "prompt_tokens_details": {
        "cached_tokens": 0,
        "cache_write_tokens": 0
      }
    }
  },
  "outputs": [
    {
      "type": "file",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ, ਤੁਹਾਡੀ ਚੋਣਹਰ outputs[].url ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਇੱਕ ਕਾਪੀ ਹੈ: ਹਮੇਸ਼ਾ ਲਈ ਰੱਖੀ ਜਾਂਦੀ ਹੈ (ਪ੍ਰਤੀ GB-ਮਹੀਨਾ ਭੁਗਤਾਨ) ਜਾਂ 7 ਦਿਨ ਤੱਕ ਮੁਫ਼ਤ, ਤੁਹਾਡੀ ਖਾਤਾ ਸੈਟਿੰਗ ਜਾਂ ?storage= ਅਨੁਸਾਰ।
ਹਰ ਮਾਡਲ ’ਤੇ ਇੱਕੋ ਜਿਹਾ ਰੂਪਤਸਵੀਰਾਂ, ਵੀਡੀਓ ਅਤੇ ਆਡੀਓ ਸਭ ਲਈ type, url, content_type, width, height ਅਤੇ duration। output ਮਾਡਲ ਦਾ ਆਪਣਾ ਨਤੀਜਾ ਆਬਜੈਕਟ ਹੈ।
ਆਉਟਪੁੱਟ ਦੇ ਫ਼ੀਲਡ
output
stringਮਾਡਲ ਵੱਲੋਂ ਤਿਆਰ ਕੀਤਾ ਨਤੀਜਾ।
reasoning
string | nullਅੰਤਿਮ ਜਵਾਬ ਦੇ ਸਮਰਥਨ ਲਈ ਤਿਆਰ ਕੀਤੀ ਤਰਕ-ਵਿਚਾਰ ਪ੍ਰਕਿਰਿਆ।
partial
booleanਦੱਸਦਾ ਹੈ ਕਿ ਆਉਟਪੁੱਟ ਅਧੂਰਾ ਹੈ ਜਾਂ ਨਹੀਂ।
error
string | nullਜੇ ਕੋਈ ਗਲਤੀ ਹੋਈ ਹੋਵੇ ਤਾਂ ਉਸਦਾ ਵੇਰਵਾ ਦੇਣ ਵਾਲਾ ਸੁਨੇਹਾ।
usage
object {prompt_tokens, completion_tokens, total_tokens, cost, prompt_tokens_details} | nullਟੋਕਨ ਖਪਤ ਦੇ ਵੇਰਵੇ।

ਹੋਰ ਮਾਡਲ: LLM

AI ਏਜੰਟਾਂ ਲਈ: ਇਹ ਪੰਨਾ Markdown ਵਜੋਂ ਇੱਥੇ ਹੈ https://doitong.com/pa/developers/models/openrouter/router.md. ਸਾਰੇ ਮਾਡਲ ਅਤੇ ਗਾਈਡ: https://doitong.com/developers/llms.txt