← Back to Abstract
POST/v1/url

Process Image via URL

Process and optimize an image from a given URL.

Abstract·$0.003 per call

Example code

// Using @orth/sdk - The simplest way to call APIs // Install: npm install @orth/sdk import Orthogonal from "@orth/sdk"; const orthogonal = new Orthogonal({ apiKey: process.env.ORTHOGONAL_API_KEY, }); const output = await orthogonal.run({ api: "abstractapi/image-processing", path: "/v1/url", body: { "url": "example" } }); console.log(output);

Body parameters

urlrequired
string

URL of the image to process (max 32MB)

lossy
boolean

Enable lossy compression (true/false)

quality
integer

Quality level (0-100) for lossy compression

    Orthogonal - Giving AI agents the tools they need.