CosmicAC Logo

Inference

Send chat completion requests to managed inference endpoints. Supports text prompts and optional video URL inputs.

Send chat completion requests to managed inference endpoints. Supports text prompts and optional video URL inputs.

Command

cosmicac inference <subcommand> [options]

Subcommands

SubcommandDescription
chatChat with AI models
transcribeTranscribe audio using AI models

inference chat

Send chat completion requests to a managed inference endpoint. Supports text prompts and optional video URL inputs. Run without --message to start an interactive chat session.

Usage

cosmicac inference chat [options]

Options

OptionDescription
--api-keyAPI key for authentication (optional)
--endpoint-idInference endpoint ID
--messageMessage to send to the model (omit for interactive mode)
--video-urlURL of video to analyze
--streamEnable streaming response for real-time output

inference transcribe

Send audio transcription requests to a managed inference endpoint. Supports audio URL inputs for transcription.

Usage

cosmicac inference transcribe [options]

Options

OptionDescription
--api-keyAPI key for authentication (optional)
--endpoint-idInference endpoint ID
--audio-urlURL of audio file to transcribe
--promptOptional prompt to guide transcription

On this page