Spaces:
Running on Zero
Running on Zero
add agents.md for AI agent integration
Browse files
agents.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
name: ImageStudio
|
| 3 |
+
description: >-
|
| 4 |
+
ZeroGPU-powered image generation Space with Anime and Realistic models.
|
| 5 |
+
Supports NSFW content without restrictions. Exposes tools via Gradio MCP
|
| 6 |
+
for AI agents to generate, moderate, and transform images.
|
| 7 |
+
urls:
|
| 8 |
+
- https://exched-imagestudio.hf.space
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# ImageStudio by Exched
|
| 12 |
+
|
| 13 |
+
Image generation Space powered by ZeroGPU (NVIDIA A10G). Supports two model
|
| 14 |
+
families and full NSFW content.
|
| 15 |
+
|
| 16 |
+
## Tools (Gradio MCP)
|
| 17 |
+
|
| 18 |
+
The Space exposes the following tools via its MCP endpoint at
|
| 19 |
+
`/gradio_api/mcp/`:
|
| 20 |
+
|
| 21 |
+
### `generate_and_upload`
|
| 22 |
+
Generate an image from a text prompt.
|
| 23 |
+
|
| 24 |
+
**Parameters:**
|
| 25 |
+
- `model_name`: `"Anime"` or `"Realistic"`
|
| 26 |
+
- `prompt`: Text prompt (name-first, comma-tag style recommended)
|
| 27 |
+
- `negative_prompt`: What to avoid
|
| 28 |
+
- `width` / `height`: Resolution (default 1024)
|
| 29 |
+
- `num_inference_steps`: 24 (Anime) or configurable
|
| 30 |
+
- `seed`: For reproducibility (42 = randomize)
|
| 31 |
+
- `randomize_seed`: true/false
|
| 32 |
+
|
| 33 |
+
### `apply_model_defaults`
|
| 34 |
+
Reset sliders and negative prompt defaults for the selected model.
|
| 35 |
+
|
| 36 |
+
### `assistant_chat`
|
| 37 |
+
VLM-powered chat about an uploaded image.
|
| 38 |
+
|
| 39 |
+
### `moderate_image`
|
| 40 |
+
Run the safety guard on an image (informational only, does not block).
|
| 41 |
+
|
| 42 |
+
## Usage Notes
|
| 43 |
+
|
| 44 |
+
- **Prompt style**: Name-first, comma-separated tags works best.
|
| 45 |
+
Example: `hu tao from genshin impact, naked, on bed, red lighting`
|
| 46 |
+
- **NSFW**: Fully supported. Use `naked` / explicit tags as needed.
|
| 47 |
+
- **ZeroGPU quota**: Daily reset per IP. Authenticated HF users get higher priority.
|
| 48 |
+
- **Custom checkpoints**: Checkpoints loaded from `exched/checkpoint_n_lora` dataset.
|