/v1beta/models match Google’s API layout.
Install
Configure client
sk-...) as apiKey.
If your SDK version only supports API key header, set
apiKey to your apisale key. For raw REST, use Authorization: Bearer $APISALE_API_KEY.List models
Generate images (sync)
contents per Gemini SDK docs — apisale detects image input and routes to image-to-image.
Generate video (async)
Video models (veo-3.1, etc.) return a job-style response. Poll using the operation/run id returned in the response until complete.
POST /v1beta/models/{model}:generateContent
apisale maps:
curl example
Python
Related
- SDK-compatible models — live ID → slug table
- OpenAI SDK — image/video via OpenAI client
- Account monitoring
