Developers can supercharge their applications by integrating Dishis Technologies' Image Hosting API not only into their websites but also into automation workflows and MCP (Model Context Protocol) servers.
Why Use Automations?
Automations reduce repetitive manual work by allowing your app or system to:
- Upload product images automatically.
- Generate thumbnails on-the-fly.
- Handle bulk image processing in background tasks.
- Provide image URLs to other services (chatbots, design tools, dashboards).
With our Image Hosting API, you get no bandwidth limits, 35 MB per image support, and flat request-based billing.
Using the API in Automations
Example: Node.js Script for Automated Uploads
import fetch from "node-fetch";
const API_URL = "https://prod.api.market/store/dishis-tech/image/upload";
const API_KEY = process.env.DISHIS_API_KEY; // Store in env for security
async function uploadImage(base64Image) {
const response = await fetch(API_URL, {
method: "POST",
headers: {
"Content-Type": "application/json",
"x-api-market-key": API_KEY,
},
body: JSON.stringify({
image: base64Image,
}),
});
const data = await response.json();
console.log("Image uploaded:", data);
return data;
}
// Example usage
uploadImage("<BASE64_STRING>");
Setting Up for MCP Servers
You can register the Dishis Image Hosting API inside your MCP server configuration for seamless automation.
Example MCP Config
{
"mcpServers": {
"dishis_image": {
"url": "https://prod.api.market/api/mcp/dishis-tech/image",
"headers": {
"x-api-market-key": "cm7g...."
}
}
}
}
This allows your MCP-powered agents and tools to call the image hosting API directly.
Example Workflow in MCP
- User uploads a design file.
- MCP agent triggers the Dishis Image Hosting API.
- Response provides permanent URLs + thumbnails.
- URLs are stored in your database or sent to downstream apps (CMS, chatbot, ERP).
API Response Example
{
"data": {
"id": "Ps9FZHtW",
"url": "https://i.ibb.co/j9WbvXHw/string.png",
"display_url": "https://i.ibb.co/CpMm5GW9/string.png",
"width": 1280,
"height": 692,
"size": 96415,
"image": {
"filename": "string.png",
"mime": "image/png",
"url": "https://i.ibb.co/j9WbvXHw/string.png"
},
"thumb": {
"url": "https://i.ibb.co/Ps9FZHtW/string.png"
},
"medium": {
"url": "https://i.ibb.co/CpMm5GW9/string.png"
},
"delete_url": "https://ibb.co/Ps9FZHtW/9205a77cc5c27603389188d7e0e71df3"
},
"success": true,
"status": 200
}
Conclusion
By combining Dishis Technologies' Image Hosting API with MCP servers, you unlock powerful automation capabilities. From bulk e-commerce product uploads to AI workflow integrations, this approach saves time and scales effortlessly.
👉 Start here: Get API Key on RapidAPI
👉 For advanced plans: API Market Store
Top comments (0)