Dynamic PNL Image Generator

Generate dynamic square profit & loss images (1080x1080) with custom Funnel Display font using Vercel OG Image Generation

Configure Your PNL Image

Will be displayed as: https://hypeduel.com/?ref=YOUR_ID

Preview

Click "Generate Image" to see your PNL image preview

API Usage

Generate square PNL images (1080x1080) with custom Funnel Display font by calling the API endpoint with URL parameters:

GET /api/pnl-image?gameType=Cube%20PvP&percentage=%2B62%25&betAmount=5%20B3&wonAmount=8.098%20B3&pnlType=gain&backgroundId=uncut-gems&referralId=686bd81998674735ca932759

Parameters:

  • gameType - The type of game (e.g., "Cube PvP")
  • percentage - The PNL percentage (e.g., "+62%" or "-25%")
  • betAmount - Amount bet (e.g., "5 B3")
  • wonAmount - Amount won (e.g., "8.098 B3")
  • pnlType - "gain" or "loss"
  • backgroundId - Background theme ID (optional)
  • referralId - Referral ID (displayed as https://hypeduel.com/?ref=ID)