BYOK Multi-LLM Architecture & Prompt Logic
Instructions for setting up OpenAI, Anthropic, Gemini, and DeepSeek API keys for high-speed AI content generation.
BYOK Multi-LLM Architecture & Prompt Logic — Official Video Tutorial
Watch this 3-minute video walkthrough to learn setup, parameters, and workflow best practices.
Overview
AI Studio is a multi-LLM gateway that lets you bring your own API keys (BYOK) to run AI content generation at wholesale cost. Supports OpenAI GPT-4o, Claude 3.5 Sonnet, Gemini 1.5 Pro, and DeepSeek.
Features
• 15+ AI tool templates (GBP posts, blog outlines, meta titles, schema markup, etc.) • BYOK API key management with AES-256 encryption • Multi-model comparison mode • Custom prompt engineering • Usage tracking and cost estimation • Template library with pre-built prompts
Who Should Use This Tool
Requirements & Specifications
Required Input Fields
| Field Name | Purpose | Required | Example Value | Validation & Tips |
|---|---|---|---|---|
| API Key | Authenticate with LLM provider API | Required | sk-proj-99182... | Valid provider API key format Stored with AES-256 encryption |
| Default Model | Primary LLM engine for generations | Optional | gpt-4o | Supported model ID GPT-4o for complex content, GPT-3.5 for speed |
| Temperature | Creativity randomness index (0.0 to 1.0) | Optional | 0.7 | Numeric float 0.0 - 1.0 0.2 for structured data, 0.7 for creative posts |
Output Data Schema
| Output Property | Data Type | Description | Sample Value |
|---|---|---|---|
| generated_text | string | AI generated content response payload | Welcome to Tampa Bay Air Experts... |
| prompt_tokens | number | Count of input prompt tokens used | 342 |
| completion_tokens | number | Count of output completion tokens generated | 512 |
| estimated_cost_usd | number | Wholesale provider API cost in USD | $0.0034 |
End-to-End Workflow
Add BYOK Key
Paste OpenAI sk-proj-... key in Settings -> BYOK Keys
Select AI Tool Template
Open 'GBP Post Generator' under AI Studio
Input Parameters
Enter Business Name 'Tampa HVAC' and Promotion '20% Off Spring Tune-Up'
Generate & Publish
Click 'Generate Content'
Troubleshooting Guide
0 platform credits when using BYOK API key
Unlimited generations constrained only by your provider API limits
60 requests per minute per workspace API key
Use Claude 3.5 Sonnet for long-form blog posts and GPT-4o for structured schema & JSON.
REST API Reference
curl -X POST https://api.mapscrapx.com/v1/ai/generate \
-H "Authorization: Bearer ms_live_secret_key_88921" \
-H "Content-Type: application/json" \
-d '{"template": "gbp_post", "variables": {"business_name": "Tampa HVAC", "offer": "20% Off"}}'{
"output": "Get 20% off your spring HVAC tune-up at Tampa HVAC! Call today...",
"model": "gpt-4o",
"tokens_used": 420,
"cost_usd": 0.0021
}Frequently Asked Questions (15)
Click to expandBring Your Own Key allows you to connect your own OpenAI, Anthropic, Gemini, or DeepSeek API key to run AI tools at wholesale cost with zero platform markup.