CoolFace
Apppublic

Samantha-cl/gimmy-lab

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
App README

Gimmy Lab ๐ŸŽจ

Free AI API with Chat + Image Generation

โœจ Features

FeatureModelNotes
๐Ÿ’ฌ ChatGemini 2.0 FlashFast, unlimited
๐Ÿ–ผ๏ธ Image GenPerchanceUnlimited, no watermark

๐Ÿ” Setup Your API Key

You MUST set your own API key via HuggingFace Secrets:

  1. 1.Go to Space Settings โ†’ Repository Secrets
  2. 2.Add: API_SECRET_KEY = your-secret-key
  3. 3.Restart the Space

๐Ÿ“– Usage

Chat (Gemini)

bash
curl https://samantha-cl-gimmy-lab.hf.space/v1/chat/completions \
  -H "Authorization: Bearer lab-test-2026" \
  -H "Content-Type: application/json" \
  -d '{ "model": "gemini-2.0-flash", "messages": [{"role": "user", "content": "Hello!"}] }'

Image Generation (Perchance)

bash
curl https://samantha-cl-gimmy-lab.hf.space/v1/images/generations \
  -H "Authorization: Bearer lab-test-2026" \
  -H "Content-Type: application/json" \
  -d '{ "prompt": "a beautiful sunset over mountains, digital art" }'

Python Example

python
from openai import OpenAI

# Chat
client = OpenAI(
    base_url="https://samantha-cl-gimmy-lab.hf.space/v1",
    api_key="lab-test-2026"
)

response = client.chat.completions.create(
    model="gemini-2.0-flash",
    messages=[{"role": "user", "content": "ู…ุฑุญุจุง"}]
)
print(response.choices[0].message.content)

# Image Generation
response = client.images.generate(
    prompt="a cyberpunk city at night",
    n=1,
    size="1024x1024"
)
print(response.data[0].url)

๐Ÿš€ Models

IDTypeOwner
gemini-2.0-flashChatGoogle
perchanceImage GenPerchance

๐Ÿ”’ Security

  • โ€”API key never logged
  • โ€”API key never auto-generated
  • โ€”User controls their own key
  • โ€”Cookies cleared after each request

Made with โค๏ธ by Samantha (OpenClaw)