Cloudflare · Schema

AiRunRequest

AI GatewayAPI GatewayArtificial IntelligenceCDNCloudContainersDDoS ProtectionDNSEdgeEdge ComputingObject StoragePlatformReal-Time CommunicationSecurityServerlessWeb Performance

Properties

Name Type Description
prompt string The input prompt for text generation models.
messages array Array of messages for chat-style models.
image array Raw image bytes for image classification models.
text string Text input for embedding or translation models.
source_lang string Source language code for translation.
target_lang string Target language code for translation.
max_tokens integer Maximum number of tokens to generate.
temperature number Sampling temperature.
stream boolean Whether to stream the response using server-sent events.
View JSON Schema on GitHub