Skip to content
AceDataCloudPublic

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Gemini API

Google Gemini generative services, including chat completions and native generate content API.

Platform API Docs

API home page: Ace Data Cloud - Gemini

Keywords: gemini-api, google-gemini, gemini-4-argon, gemini-3.8-flash, gemini-3.6-flash, gemini-3.1-pro, gemini-3.5-flash, chat-completions, generate-content, rest-api, ai-api, developer-tools, AI API, REST API, Developer API, Ace Data Cloud

Get your Ace Data Cloud API key

  1. Open Ace Data Cloud → Applications. Sign in, or register an account first.
  2. Find General application. If it has not been created, choose Initialize General Application. A general key can use the services available to your account; a dedicated application's key is limited to its service. Check the required service/model access and current pricing.
  3. Copy the API Key from the application card, or open Keys / Manage Keys → Create to create a separate key for this integration. Give it a recognizable name so you can revoke or rotate it independently.
  4. When creating a key, review Expiration Time, Set Usage Limitation, and Allowed APIs. Enable only the restrictions you need, allow the operations you will call, then click Create and copy the token from the key list. Task lookup does not grant permission to submit a generation. Confirm the application's balance can cover your first request; any trial allowance is whatever your account currently displays.
  5. Copy only the token value, without quotation marks, spaces, or Bearer . An API Key / API Token field expects this raw value; only a manually configured HTTP Authorization header needs the Bearer prefix. A platform-... account-management token cannot replace a generation API key.

Copy an application API key or open Manage Keys

Create a separately named key with optional restrictions

Save the key in the client's credential store or the environment variable shown below. Never put it in a prompt, shared workflow, screenshot, or Git commit. If authentication fails, check the full copied value, application/service access, expiration, usage limit, and balance before creating another key.

Why Use Gemini on Ace Data Cloud

  • Unified developer platform with one API key, billing system, and usage tracking
  • Production-ready AI API endpoints served from https://api.acedata.cloud
  • English integration guides, API references, and service documentation
  • Global-ready workflow for developers building chat, image, video, music, and search products

Overview

Google Gemini supports both OpenAI-compatible Chat Completions and the native generateContent / streamGenerateContent endpoints. gemini-4-argon is available on both paths for complex reasoning, alongside gemini-3.8-flash and other Gemini variants. Input types and advanced controls depend on the selected endpoint and model; check the current API reference before using them.

Application Process

To use the Gemini API, apply for the corresponding service on the Gemini Chat Completion API page. After entering the page, click the "Acquire" button.

There is a free quota available for first-time applicants, allowing you to use this API for free.

Quick Start

curl --request POST "https://api.acedata.cloud/gemini/chat/completions" \
  --header "Authorization: Bearer YOUR_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "model": "gemini-3.6-flash",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

APIs and Guides

Explore the supported endpoints and integration guides for Gemini.

API Path Integration Guidance
Gemini Chat Completion API /gemini/chat/completions Gemini Chat Completion API Integration Guide
Gemini Generate Content API /v1beta/models/{model}:generateContent Gemini Generate Content API Integration Guide

Releases

Packages

Contributors