gemini-openai-api

Integrate Gemini with OpenAI-compatible API endpoints for auxiliary model tasks.

Updated Mar 31, 2026
One-click install
npx skills add https://github.com/StarrySerendipity/N.E.K.O --skill gemini-openai-api-starryserendipity
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gemini-openai-api
Source: https://github.com/StarrySerendipity/N.E.K.O/tree/main/.agent/skills/gemini-openai-api
Command: npx skills add https://github.com/StarrySerendipity/N.E.K.O --skill gemini-openai-api-starryserendipity

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide helps you connect Gemini with an OpenAI-compatible API, enabling easy use of Gemini as an auxiliary model with standardized prompts, thinking control, and consistent response formats.

Core Features & Use Cases

  • Gemini compatibility: OpenAI-style endpoints to simplify integration for existing workflows.
  • Thinking control: configure extra_body to adjust Gemini's thinking behavior.
  • Response normalization: handle markdown-wrapped JSON responses and extract usable data.
  • Use Case: add Gemini as a secondary model for tasks like summary, emotion analysis, and corrections in larger AI pipelines.

Quick Start

Configure your client to the OpenAI-compatible Gemini endpoint and optionally supply extra_body to adjust thinking.

Frequently Asked Questions about gemini-openai-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate Gemini with an OpenAI-compatible API endpoint?▼

Integrating Gemini with OpenAI-compatible API endpoints requires updating config files to enable the Gemini provider and configuring your client to route requests through the standardized OpenAI-style interface.

How do I configure thinking controls when using Gemini as an auxiliary model?▼

Configuring Gemini thinking controls involves supplying the extra_body parameter in your API request to adjust the model's thinking behavior according to your specific AI-assisted workflow requirements.

Can I normalize markdown-wrapped JSON responses from Gemini?▼

Yes, response normalization handles markdown-wrapped JSON responses from Gemini to extract usable data, ensuring consistent response formats across your development pipelines.

What are the best use cases for adding Gemini as a secondary model in AI pipelines?▼

Adding Gemini as a secondary model is best for AI-assisted workflows like summarization, emotion analysis, and corrections within larger development pipelines to leverage its auxiliary capabilities.

Does this integration require modifying existing config files?▼

Yes, enabling the Gemini provider requires updating your config files to support OpenAI-compatible endpoints and standardize prompts for your existing workflows.