Moraya Integration
Configure Moraya to upload images to Picora by pasting a single JSON configuration snippet.
Prerequisites
- Moraya installed
- A Picora account with an API key (see Quick Start)
Configuration Steps
1. Open Moraya Preferences
In Moraya, go to Preferences → Image Upload → Custom Provider.
2. Paste the JSON Config
Copy and paste the following JSON configuration, replacing sk_live_YOUR_KEY with your actual API key:
{ "name": "Picora", "url": "https://api.picora.com/v1/images", "method": "POST", "headers": { "Authorization": "Bearer sk_live_YOUR_KEY" }, "bodyType": "multipart", "fileField": "file", "responseUrlPath": "data.url"}3. Save and Test
Click Save, then drag an image onto the Moraya window to test the upload. The permanent URL will be returned and ready to copy.
Config Field Reference
| Field | Description |
|---|---|
url | The Picora upload endpoint |
method | Always POST for uploads |
headers.Authorization | Your API key in Bearer format |
bodyType | Must be multipart for file uploads |
fileField | The form field name (file) |
responseUrlPath | JSON path to extract the URL from the response |
Notes
- The
data.urlpath extracts theurlfield from the nesteddataobject in Picora’s response - Each uploaded image gets a unique 11-character ID, e.g.,
https://img.picora.com/xK9mR2pQ7vB.webp - Images are permanently stored — URLs never expire