Generate Image, Audio, or Text-to-Speech Using fal Models
pydo.inference
Generated on 13 Apr 2026
from pydo version
v0.30.0
DigitalOcean Gradient™ AI Agentic Cloud allows access to serverless inference models.
You can access models by providing an inference key.
Note: The Serverless Inference API uses a separate base URL (https://inference.do-ai.run)
and is independent of the main DigitalOcean control-plane API (https://api.digitalocean.com).
pydo.inference.create_async_invoke()
pydo.inference.create_chat_completion()
Create a model response for the given chat conversation
pydo.inference.create_image()
Generate images from text prompts
pydo.inference.create_response()
Send Prompt to a Model Using the Responses API
pydo.inference.list_models()
List available models