Getting Started with Gemimi
Authentication
Set up API access using your Google Cloud token or service account.
API
Access over 100 APIs for text, image, and speech generation.
SDKs
Use pre-built SDKs for seamless integration into your stack.
Supported Integration Paths
REST API
Access Gemimi's AI through REST endpoints with standard HTTP verbs and JSON payloads.
GET /api/v1/inferences
Authorization: Bearer {token}
Content-Type: application/json
{'input': 'Hello, world!'}
SDKs
Use officially supported SDKs for Node.js, Python, Go, Java, and more.
gemimi.configure(auth_token='...')
client = InferenceClient()
response = client.generate('What is the meaning of life?')
CLI
Quick test or batch processing with the command line.
gemimi-cli run \
-t text-generation \
-i "What is the capital of France?" \
--model "gemimi-001"
Code Integration Examples
Python SDK Example
from gemimi import InferenceClient
client = InferenceClient(api_key='YOUR_API_KEY')
response = client.text_complete(
prompt='Summarize this text:',
max_tokens=100
)
print(response.choices[0].text)
JavaScript/Node.js
const { Client } = require('gemimi-sdk');
const client = new Client({ apiKey: 'YOUR_API_KEY' });
client.textGenerate('How to make omelet?')
.then(response => {
console.log(response.data);
});
Integrating with Gemimi is Easy
Our integration tools provide seamless compatibility for developers, enterprises, and researchers.