---
title: svg-maker
canonical_url: "https://www.modelscope.ai/studios/b2kinnocent/svg-maker"
md_url: "https://www.modelscope.ai/studios/b2kinnocent/svg-maker.md"
repository: b2kinnocent/svg-maker
last_updated: 2026-09-08
sdk_type: gradio
sdk_version: 6.17.3
downloads: 0
stars: 0
---

# svg-maker

> svg-maker - An interactive demo by b2kinnocent on ModelScope. ModelScope Studio / Gradio app for converting images into black-and-white outline SVGs designed for browser flood-fill coloring.

b2kinnocent/svg-maker is an interactive demo (Studio) on ModelScope. built with gradio 6.17.3.

- **Repository**: b2kinnocent/svg-maker
- **SDK**: gradio
- **SDK version**: 6.17.3
- **Downloads**: 0
- **Stars**: 0
- **Last updated**: 2026-09-08

Source: https://www.modelscope.ai/studios/b2kinnocent/svg-maker

---

# Outline SVG Studio

ModelScope Studio / Gradio app for converting images into black-and-white
outline SVGs designed for browser flood-fill coloring.

## Features

- PNG/JPG/WebP and common image formats
- Upload/clipboard input
- Public image URL input
- n8n-friendly POST API at `/convert-url`
- MCP Streamable HTTP at `/mcp`
- Pure white background + black geometry
- Line-art mode and Any-image mode
- Gap closing and outline strengthening
- SVG simplification with a 50 KB maximum target
- Remote source images are downloaded temporarily and deleted after processing
- No password/login is required by default

## Port

The app binds to:

`0.0.0.0:7860`

ModelScope can expose the Gradio page at its normal public URL.

## n8n

HTTP Request node:

Method: `POST`

URL:

`https://YOUR-STUDIO-URL/convert-url`

JSON body:

```json
{
  "image_url": "https://example.com/image.png",
  "mode": "Line art",
  "target_kb": 48,
  "threshold": 185,
  "close_px": 2,
  "line_width": 1,
  "max_side": 1200
}
```

The response contains:

- `ok`
- `svg`
- `bytes`
- `kb`
- `mode`
- `black_white_only`
- `flood_fill_safe_design`

No downloaded source image is permanently saved.

## MCP

Endpoint:

`https://YOUR-STUDIO-URL/mcp`

MCP tools:

- `convert_image_to_svg`
- `convert_image_url_to_svg`
- `optimize_svg`
- `server_info`

## Health

`/health`

## Security note

This intentionally has no password because it is designed as a simple private/personal
utility. If you expose it publicly, remember that `/convert-url` can make the server
download remote URLs. Keep it on a trusted/private Studio URL or add authentication
before exposing it to arbitrary users.
