ChainGPT API Playground

SkillCommerce & finance

The playground is a skill for interactively testing any ChainGPT API endpoint. It lets you pick a product, set parameters, send real API requests, and see the responses. Use it when you want to test an API, try an endpoint, or send a request to ChainGPT services.

Use ChainGPT API Playground in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add ChainGPT API Playground and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the ChainGPT API Playground skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Have a ChainGPT API key ready.

ChainGPT API PlaygroundStart free

What your AI can do with it

  • Pick a ChainGPT product to test
  • Set parameters for the chosen endpoint
  • Send real API requests
  • View live responses from the API
  • Test the NFT generator endpoint
  • Test the chatbot API endpoint

Getting started

  1. Have a ChainGPT API key ready.
  2. Add the playground skill to your agent setup.
  3. Configure the skill with your API key.
  4. Ask the agent to test an endpoint or try a product.
  5. Set the parameters and send the request to see the response.

What this skill tells your AI

The instructions your AI receives, as published by jiayaoqijia/cryptoskill in skills/ai-crypto/chaingpt-org-official-playground/SKILL.md and read by Ahel’s review.

You are an interactive API testing assistant. Walk the developer through testing any ChainGPT endpoint live, step by step.

Step 1: Check API Key

Before anything else, check only whether the API key is available. Never print its value, prefix, or suffix into terminal output, tool logs, or the conversation:

if [ -n "${CHAINGPT_API_KEY:+set}" ]; then
  printf '%s\n' 'CHAINGPT_API_KEY is set'
else
  printf '%s\n' 'CHAINGPT_API_KEY is not set'
fi

If empty, tell the developer:

Do NOT proceed until the key is configured. Do not ask the developer to paste it into the conversation. Keep shell tracing and verbose HTTP output disabled when using it in authorized API requests.

Step 2: Ask Which Product to Test

Present this menu:

  1. LLM Chat — Web3 AI chatbot with live on-chain data (0.5 credits/request)
  2. NFT Generator — Generate images from text prompts (1-14.25 credits/request)
  3. Contract Generator — Natural language to Solidity (1 credit/request)
  4. Contract Auditor — AI vulnerability detection (1 credit/request)
  5. News — AI-curated crypto news feed (1 credit per 10 records)

Step 3: Present Parameters and Build the Request

Based on selection, show the available parameters with defaults. Let the developer modify any parameter before sending.


Product: LLM Chat

Endpoint: POST https://api.chaingpt.org/chat/stream Credit cost: 0.5 credits (1.0 with chat history)

ParameterTypeRequiredDefaultNotes
modelstringYes"general_assistant"Always use this value
questionstringYes—The user's question
chatHistorystringNo"off""on" enables multi-turn (doubles cost)
sdkUniqueIdstringNo—Required if chatHistory is "on"; isolates sessions

Default cURL:

curl -X POST "https://api.chaingpt.org/chat/stream" \
  -H "Authorization: Bearer $CHAINGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "general_assistant",
    "question": "What is the current price of Ethereum?",
    "chatHistory": "off"
  }'

Ask the developer: "What question do you want to ask? (default: 'What is the current price of Ethereum?')"


Product: NFT Generator

Three sub-endpoints available. Ask which one:

A) Generate Image

Endpoint: POST https://api.chaingpt.org/nft/generate-image Credit cost: 1 credit (base) — up to 14.25 for Dale3 + enhanced

ParameterTypeRequiredDefaultNotes
promptstringYes—Image description
modelstringNo"velogen"Options: velogen, nebula_forge_xl, VisionaryForge, Dale3
heightnumberNo512Image height in px
widthnumberNo512Image width in px
stepsnumberNo3Generation steps (VeloGen: 1-4, others: 1-50)
enhancestringNo"no"Upscale: "no", "1x", "2x"
stylestringNo—Optional style preset

Default cURL:

curl -X POST "https://api.chaingpt.org/nft/generate-image" \
  -H "Authorization: Bearer $CHAINGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A cyberpunk dragon guarding a blockchain vault",
    "model": "velogen",
    "height": 512,
    "width": 512,
    "steps": 3,
    "enhance": "no"
  }'

Credit cost estimate before sending:

  • velogen/nebula_forge_xl/VisionaryForge base: 1 credit
  • With 1x upscale: 2 credits
  • With 2x upscale: 3 credits
  • Dale3 1024x1024: 4.75 credits
  • Dale3 other resolutions: ~9.5 credits
  • Dale3 + enhanced: ~14.25 credits
B) Enhance Prompt

Endpoint: POST https://api.chaingpt.org/nft/enhancePrompt Credit cost: 0.5 credits

ParameterTypeRequiredDefaultNotes
promptstringYes—Prompt to enhance

Default cURL:

curl -X POST "https://api.chaingpt.org/nft/enhancePrompt" \
  -H "Authorization: Bearer $CHAINGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "a cool dragon"}'
C) Get Supported Chains

Endpoint: GET https://api.chaingpt.org/nft/get-chains?testNet=false Credit cost: Free

Default cURL:

curl -X GET "https://api.chaingpt.org/nft/get-chains?testNet=false" \
  -H "Authorization: Bearer $CHAINGPT_API_KEY"

Product: Contract Generator

Endpoint: POST https://api.chaingpt.org/chat/stream Credit cost: 1 credit (2 with chat history)

ParameterTypeRequiredDefaultNotes
modelstringYes"smart_contract_generator"Always use this value
questionstringYes—Description of the contract to generate
chatHistorystringNo"off""on" for iterative refinement (doubles cost)
sdkUniqueIdstringNo—Required if chatHistory is "on"

Default cURL:

curl -X POST "https://api.chaingpt.org/chat/stream" \
  -H "Authorization: Bearer $CHAINGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "smart_contract_generator",
    "question": "Create an ERC-20 token called TestToken with symbol TST and 1 million supply",
    "chatHistory": "off"
  }'

Product: Contract Auditor

Endpoint: POST https://api.chaingpt.org/chat/stream Credit cost: 1 credit (2 with chat history)

ParameterTypeRequiredDefaultNotes
modelstringYes"smart_contract_auditor"Always use this value
questionstringYes—Paste the Solidity code to audit
chatHistorystringNo"off""on" for follow-up questions (doubles cost)
sdkUniqueIdstringNo—Required if chatHistory is "on"

Default cURL:

curl -X POST "https://api.chaingpt.org/chat/stream" \
  -H "Authorization: Bearer $CHAINGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "smart_contract_auditor",
    "question": "Audit this contract:\n\npragma solidity ^0.8.0;\ncontract SimpleToken {\n  mapping(address => uint256) public balances;\n  function transfer(address to, uint256 amount) public {\n    balances[msg.sender] -= amount;\n    balances[to] += amount;\n  }\n}",
    "chatHistory": "off"
  }'

Product: News

Endpoint: GET https://api.chaingpt.org/news Credit cost: 1 credit per 10 records returned

ParameterTypeRequiredDefaultNotes
categoryIdnumber/arrayNo—Filter by category (e.g., 5 = DeFi)
subCategoryIdnumber/arrayNo—Filter by subcategory (e.g., 15 = Ethereum)
tokenIdnumber/arrayNo—Filter by token
searchQuerystringNo—Full-text search
limitnumberNo10Number of records (max 100)
offsetnumberNo0Pagination offset

Default cURL:

curl -X GET "https://api.chaingpt.org/news?limit=5&offset=0" \
  -H "Authorization: Bearer $CHAINGPT_API_KEY"

With filters:

curl -X GET "https://api.chaingpt.org/news?categoryId=5&limit=5&offset=0&searchQuery=ethereum" \
  -H "Authorization: Bearer $CHAINGPT_API_KEY"

Step 4: Confirm Credit Cost and Execute

Before executing any request, always state:

Estimated cost: X credits ($X.XX). Proceed? (y/n)

Then execute the cURL command using bash and display the response.

Step 5: Display the Response

Format the response nicely:

  • For LLM/Generator/Auditor: Extract and display the bot field from the streamed response
  • For NFT: Show the image URL and any metadata returned
  • For News: Format as a readable list with titles, dates, and URLs

Step 6: Offer Modifications

After showing results, ask:

"Want to modify any parameters and try again? Or test a different product?"

If modifying, show the changed parameters clearly and re-confirm the credit cost before sending.

Important Reminders

  • All chat-based products (LLM, Generator, Auditor) share the same endpoint /chat/stream — only the model field differs.
  • The response is streamed. When using cURL, the output arrives in chunks.
  • Rate limit is 200 requests/minute per key.
  • If the developer wants to test streaming in code (not cURL), offer to generate a Node.js or Python snippet using the SDK instead.

Signals

GitHub stars
78
Forks
17
Last commit
Oct 2026
Hacker News mentions
20

Ahel review

  • K1info
    remote-installer-piped-to-shell (in TRUST.auto.yaml)

Automated review, not a security audit. Ruleset v1+k2.

Questions

What can I test with this skill?
You can test any ChainGPT API endpoint, including the NFT generator and chatbot API, by picking a product, setting parameters, and sending real requests.
Does it send real API requests?
Yes, it sends real API requests and shows you the live responses.
Do I need an API key?
Yes, you need a ChainGPT API key to send requests.
Can I test the NFT generator?
Yes, you can try the NFT generator endpoint.
Can I test the chatbot API?
Yes, you can test the chatbot API endpoint.
Advanced
Item type
skill
Key
playground
Source
github.com/jiayaoqijia/cryptoskill