Providers
Description: Learn how to upload images using Gradia's predefined or custom upload providers, with step-by-step setup instructions.

## How it works

All providers are just a bash command behind the scene. Including all the predefined ones, this makes it easy to add new options in the future and allows you to create custom ones as well. The command simply receives the image path as `$1` and outputs the final URL to stdout.

Example:

    curl -F "file=@$1" https://api.service.com/upload | jq -r '.url'

Note: Not all commands or functions are available in the Flatpak or the Snap by default. You may need to modify permissions. For Flatpak, this can be done via Flatseal.

## Basic Setup

1. 1
   Press the Select button in the "Image Upload Providers" section. or craft a custom command
2. 2
   Choose one of the predefined providers from the list or pick "Custom Provider"
3. 3
   Review your option make sure the option fits your needs.
4. 4
   Test it out via the new button next to Save & Copy