Agent & Bot Guide
How to use StudioMCPHub to create, enhance, and protect images via the Golden Codex pipeline.
Quick Start (3 Steps)
Step 1: Register Your Wallet FREE
curl -X POST https://studiomcphub.com/api/wallet/register \
-H "Content-Type: application/json" \
-d '{"wallet": "0xYOUR_WALLET_ADDRESS"}'
# Response: {"status": "created", "balance": 10, ...}
# You now have 10 GCX credits ($1.00 value)
Step 2: Choose Your Path
| I want to... | Tools needed | Cost |
|---|---|---|
| Upscale my image (4x) | upscale_image | 2 GCX ($0.20) |
| Enhance my existing image | enrich_metadata + infuse_metadata | 3 GCX ($0.30) |
| Remove background | remove_background | FREE |
| Search museum artworks | search_artworks | FREE |
Step 3: Make Your First Call
# Include your wallet as Bearer token for GCX payment
curl -X POST https://studiomcphub.com/api/tools/upscale_image \
-H "Authorization: Bearer 0xYOUR_WALLET" \
-H "Content-Type: application/json" \
-d '{"image": "BASE64_IMAGE_DATA", "scale": 4}'
Enhance Existing Images with Golden Codex
Already have images? Run them through the Golden Codex pipeline to add AI metadata, provenance, and professional-grade processing.
Your Image
→
enrich_metadata 2 GCX
→
infuse_metadata 1 GCX
→
register_hash 1 GCX
→
Provenance-Protected Image
Step-by-Step: Enhance an Existing Image
# 1. Enrich — AI analyzes your image and generates Golden Codex metadata (2 GCX)
curl -X POST https://studiomcphub.com/api/tools/enrich_metadata \
-H "Authorization: Bearer 0xYOUR_WALLET" \
-H "Content-Type: application/json" \
-d '{"image": "BASE64_IMAGE_DATA", "context": "Oil painting by a contemporary artist"}'
# Response includes full Golden Codex JSON: title, medium, palette,
# composition, symbolism, emotional resonance, provenance context
# 2. Infuse — Embed the metadata INTO the image file (1 GCX)
curl -X POST https://studiomcphub.com/api/tools/infuse_metadata \
-H "Authorization: Bearer 0xYOUR_WALLET" \
-H "Content-Type: application/json" \
-d '{"image": "BASE64_IMAGE_DATA", "metadata": {...CODEX_JSON_FROM_STEP_1...}}'
# Response: image with XMP-gc, IPTC, and C2PA metadata embedded
# 3. Register Hash — Provenance protection, even if metadata is stripped (1 GCX)
curl -X POST https://studiomcphub.com/api/tools/register_hash \
-H "Authorization: Bearer 0xYOUR_WALLET" \
-H "Content-Type: application/json" \
-d '{"image": "BASE64_INFUSED_IMAGE"}'
# Response: hash_id, perceptual hash registered in Aegis index
# Anyone can now verify your image with verify_provenance (FREE)
Pro tip: Chain
enrich_metadata + infuse_metadata + register_hash for a complete provenance pipeline. Total: 4 GCX ($0.40).
Save & Retrieve Assets
Store your generated images and pipeline outputs in your personal wallet storage. 100MB free per wallet.
# Save an image to your storage (1 GCX)
curl -X POST https://studiomcphub.com/api/tools/save_asset \
-H "Authorization: Bearer 0xYOUR_WALLET" \
-H "Content-Type: application/json" \
-d '{
"wallet": "0xYOUR_WALLET",
"key": "my-landscape-001",
"data": "BASE64_IMAGE_DATA",
"metadata": {"title": "Golden Hour Landscape", "pipeline": "full"}
}'
# Retrieve it later (FREE)
curl -X POST https://studiomcphub.com/api/tools/get_asset \
-H "Content-Type: application/json" \
-d '{"wallet": "0xYOUR_WALLET", "key": "my-landscape-001"}'
# List all your assets (FREE)
curl -X POST https://studiomcphub.com/api/tools/list_assets \
-H "Content-Type: application/json" \
-d '{"wallet": "0xYOUR_WALLET"}'
MCP Connection (Claude, Cursor, Cline)
For AI agents using the Model Context Protocol, connect to StudioMCPHub's Streamable HTTP transport:
{
"mcpServers": {
"studiomcphub": {
"url": "https://studiomcphub.com/mcp",
"transport": "streamable-http"
}
}
}
Once connected, your AI agent can:
- Call
register_walletto get 10 free GCX - Call
search_toolsto discover all available tools - Call
upscale_imageto enhance image resolution - Call
enrich_metadata+infuse_metadatafor provenance - Call
save_assetto store results for later
Complete Tool Reference
Creative Tools
| Tool | Cost | Description |
|---|---|---|
upscale_image | 2 GCX | 4x super-resolution (ESRGAN, NVIDIA L4). |
enrich_metadata | 2 GCX | AI artwork analysis (Gemini). 8-section Golden Codex JSON. |
infuse_metadata | 1 GCX | Embed metadata into image (ExifTool: XMP, IPTC, C2PA). |
register_hash | 1 GCX | Perceptual hash registration. Strip-proof provenance. |
verify_provenance | FREE | Check an image against the Aegis hash index. |
Dataset Tools (Alexandria Aeternum — 53K+ Museum Artworks)
| Tool | Cost | Description |
|---|---|---|
search_artworks | FREE | Search 7 world-class museums by keyword. |
get_artwork | 1 GCX | Human-sourced metadata + image URL. |
get_artwork_oracle | 2 GCX | Deep AI analysis: 111-field NEST format. |
batch_download | 50 GCX | Bulk download (100+ artworks). |
compliance_manifest | FREE | AB 2013 + EU AI Act compliance docs. |
Storage & Account Tools
| Tool | Cost | Description |
|---|---|---|
save_asset | 1 GCX | Save to wallet storage (5MB max per asset). |
get_asset | FREE | Retrieve stored asset by key. |
list_assets | FREE | List all stored assets. |
delete_asset | FREE | Delete a stored asset. |
register_wallet | FREE | Register wallet + get 10 free GCX. |
check_balance | FREE | Check GCX, loyalty, tier status. |
Pricing Math
10 free GCX gets you:
5 upscales OR 5 enrichments OR a complete provenance pipeline (upscale + enrich + infuse + register = 6 GCX) with credits to spare. Purchase GCX packs for more.
Best value: Chain upscale + enrich + infuse + register at 6 GCX ($0.60) for a complete provenance-protected artwork.
5 upscales OR 5 enrichments OR a complete provenance pipeline (upscale + enrich + infuse + register = 6 GCX) with credits to spare. Purchase GCX packs for more.
Best value: Chain upscale + enrich + infuse + register at 6 GCX ($0.60) for a complete provenance-protected artwork.
Payment Methods
- GCX Credits (recommended): Register wallet, get 10 free. Buy more with Stripe.
- Stripe: Card payment for credit purchases and per-call payments.
Every paid call earns 5% loyalty credits back. Volume discounts up to 30% off at $200+ monthly spend.