Create custom text images with full control
Generate images with custom text, colors, fonts, and positioning.
Base URL:
https://www.dev.nebulawp.org/api/textimage.php
Query Parameters:
text - Text to display (required)
bgcolor - Background color (hex, default: #1a1a2e)
bgimage - Background image URL (optional)
textcolor - Text color (hex, default: #ffffff)
fontsize - Font size 10-300 (default: 48)
width - Image width 100-2560 (default: 1200)
height - Image height 100-1440 (default: 630)
font - Font name from Google Fonts (e.g., Roboto, Montserrat, Pacifico)
mode - fit (auto-resize) or wrap (multi-line)
position - topleft, topcenter, topright, center, bottomleft, bottomcenter, bottomright
Example URL:
https://www.dev.nebulawp.org/api/textimage.php?text=Hello%20World&bgcolor=%23000000&textcolor=%23ffffff&fontsize=64&width=800&height=600&font=Bebas%20Neue&mode=fit&position=center
🎨 Google Fonts Integration:
Dynamically fetches top 100 most popular fonts from Google Fonts API. Requires a free API key from Google Fonts Developer API. Falls back to popular fonts if API key not configured.
📝 Note:
Remember to URL-encode text and special characters in your API requests.