← Back to Abstract
GET/v1
Generate Avatar
Generate an avatar image from a name or initials with customizable styling.
Abstract·$0.001 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/avatars",
path: "/v1",
query: {
"name": "example"
}
});
console.log(output);Query parameters
namerequired
string
The name to generate an avatar for