pydo.inference.create_response()

Generated on 7 May 2026 from pydo version v0.34.0

Description

Generate text responses from text prompts. This endpoint supports both streaming and non-streaming responses for supported text models.

Request Sample

import os
from pydo import Client

client = Client(token=os.environ.get("MODEL_ACCESS_KEY"))

resp = client.responses.create(
    model="openai-gpt-oss-20b",
    input="What is the capital of France?",
    max_output_tokens=50,
    temperature=0.7,
)

print(resp.output[0].content[0].text)

More Information

See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.