# Progress bar image generator

Make an SVG progress bar with a percentage label, your colours, rounded corners and optional stripes.

- Endpoint: `POST https://setget.net/v1/tools/progress-bar-image` with JSON `{"input": {...}}`
- MCP: `run_tool` with `slug` = `progress-bar-image`
- Page: https://setget.net/tools/progress-bar-image

## Inputs

- `value` (required, number): Current progress.
- `maximum` (optional, number, default `100`): The value that means complete.
- `width` (optional, integer, default `320`, range 20..4000): Width in pixels.
- `height` (optional, integer, default `28`, range 4..400): Height in pixels.
- `colour` (optional, string, default `"#1baf7a"`): Colour of the filled part: hex or a basic colour name.
- `background` (optional, string, default `"#e5e7eb"`): Colour of the empty track.
- `label` (optional, string): Text to show instead of the percentage.
- `show_label` (optional, boolean, default `true`): Show the percentage (or your label) on the bar.
- `radius` (optional, integer, range 0..200): Corner radius in pixels. Leave out for fully rounded ends; 0 gives square corners.
- `striped` (optional, boolean, default `false`): Overlay diagonal stripes on the filled part.

## Example 1: 72%

```json
{"input":{"value":72}}
```

## Example 2: A custom label with stripes

```json
{"input":{"value":3,"maximum":8,"label":"3 of 8 done","colour":"#2a78d6","striped":true,"radius":4}}
```

**What if the value is over the maximum?** The bar is drawn full, and the percentage label is capped at 100%. Values below zero show as 0%.
