Placeholder Image Generator avatar

Placeholder Image Generator

Pricing

Pay per usage

Go to Apify Store
Placeholder Image Generator

Placeholder Image Generator

Generate SVG placeholder images, avatars, and pattern backgrounds on demand. Zero native dependencies.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

2x lazymac

2x lazymac

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

Generate SVG placeholder images, circular avatars, and pattern backgrounds on demand. Pure SVG output with zero native image dependencies.

Modes

placeholder (default)

Generates a rectangular placeholder image with customizable dimensions, colors, text, rounded corners, and optional gradient background.

avatar

Generates a circular avatar with initials. Set text to the initials (1-3 characters) and size for diameter.

pattern

Generates a rectangular image filled with a repeating pattern. Supported patterns: grid, dots, lines, crosshatch.

Input Examples

Basic placeholder:

{ "mode": "placeholder", "width": 800, "height": 400, "bg": "3498db", "fg": "ffffff", "text": "Hello" }

Avatar:

{ "mode": "avatar", "text": "JD", "bg": "e74c3c", "size": 256 }

Pattern:

{ "mode": "pattern", "width": 600, "height": 400, "pattern": "dots", "bg": "f0f0f0", "fg": "999999" }

Gradient placeholder:

{ "mode": "placeholder", "width": 600, "height": 300, "gradient": "h-3498db-2ecc71", "fg": "ffffff", "text": "Gradient" }

Output

The actor stores the generated SVG in the default key-value store under the key OUTPUT with content type image/svg+xml. The SVG is also available as a dataset item.