Skip to content

Instantly share code, notes, and snippets.

@simonw
Created February 17, 2026 04:12
Show Gist options
  • Select an option

  • Save simonw/625546cf6b371f9c0040e64492943b82 to your computer and use it in GitHub Desktop.

Select an option

Save simonw/625546cf6b371f9c0040e64492943b82 to your computer and use it in GitHub Desktop.

2026-02-17T04:10:57 conversation: 01khmwr8kvzn4mp743kjw17hd4 id: 01khmwpm1137g828tkv8mar2h4

Model: openrouter/qwen/qwen3.5-397b-a17b

Prompt

Generate an SVG of a pelican riding a bicycle

Response

<svg width="500" height="500" viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg">
  <!-- Background -->
  <rect width="500" height="500" fill="#f0f8ff" />
  
  <!-- Ground Shadow -->
  <ellipse cx="250" cy="410" rx="180" ry="10" fill="#000" opacity="0.1" />

  <!-- Bicycle Group -->
  <g transform="translate(0, 20)">
    
    <!-- Back Wheel -->
    <circle cx="150" cy="350" r="60" fill="none" stroke="#333" stroke-width="8" />
    <circle cx="150" cy="350" r="5" fill="#333" /> <!-- Hub -->
    <line x1="150" y1="290" x2="150" y2="410" stroke="#ccc" stroke-width="2" />
    <line x1="90" y1="350" x2="210" y2="350" stroke="#ccc" stroke-width="2" />

    <!-- Front Wheel -->
    <circle cx="350" cy="350" r="60" fill="none" stroke="#333" stroke-width="8" />
    <circle cx="350" cy="350" r="5" fill="#333" /> <!-- Hub -->
    <line x1="350" y1="290" x2="350" y2="410" stroke="#ccc" stroke-width="2" />
    <line x1="290" y1="350" x2="410" y2="350" stroke="#ccc" stroke-width="2" />

    <!-- Bike Frame -->
    <path d="M150 350 L220 250 L320 250 L350 350" fill="none" stroke="#e74c3c" stroke-width="10" stroke-linecap="round" stroke-linejoin="round" />
    <path d="M220 250 L250 350" fill="none" stroke="#e74c3c" stroke-width="10" stroke-linecap="round" /> <!-- Seat tube -->
    <path d="M250 350 L350 350" fill="none" stroke="#e74c3c" stroke-width="10" stroke-linecap="round" /> <!-- Chainstay -->
    
    <!-- Pedals & Crank -->
    <circle cx="250" cy="350" r="15" fill="#7f8c8d" />
    <rect x="245" y="370" width="10" height="20" fill="#333" transform="rotate(45 250 350)" /> <!-- Pedal -->

    <!-- Seat -->
    <path d="M200 240 L240 240 L235 250 L205 250 Z" fill="#333" />
    
    <!-- Handlebars -->
    <path d="M320 250 L330 220 L360 220" fill="none" stroke="#333" stroke-width="8" stroke-linecap="round" />
    <rect x="355" y="210" width="10" height="20" fill="#333" rx="2" /> <!-- Grip -->

  </g>

  <!-- Pelican Group -->
  <g transform="translate(0, 20)">
    
    <!-- Tail Feathers -->
    <path d="M190 280 L160 290 L190 300 Z" fill="#fff" stroke="#ccc" stroke-width="2" />

    <!-- Body -->
    <ellipse cx="230" cy="270" rx="50" ry="65" fill="#fff" stroke="#ccc" stroke-width="2" />
    
    <!-- Wing -->
    <path d="M230 270 Q260 270 270 300 Q260 330 230 320 Z" fill="#f0f0f0" stroke="#ccc" stroke-width="2" />

    <!-- Legs -->
    <path d="M240 320 L250 350 L245 370" fill="none" stroke="#f39c12" stroke-width="8" stroke-linecap="round" />
    <path d="M240 320 L240 350 L235 370" fill="none" stroke="#f39c12" stroke-width="8" stroke-linecap="round" />
    
    <!-- Feet -->
    <path d="M235 370 L255 375 M235 370 L245 385 M235 370 L225 385" stroke="#f39c12" stroke-width="4" stroke-linecap="round" />
    <path d="M245 370 L265 375 M245 370 L255 385 M245 370 L235 385" stroke="#f39c12" stroke-width="4" stroke-linecap="round" />

    <!-- Neck -->
    <path d="M230 220 Q220 180 240 160" fill="none" stroke="#fff" stroke-width="35" stroke-linecap="round" />
    
    <!-- Head -->
    <circle cx="245" cy="155" r="25" fill="#fff" stroke="#ccc" stroke-width="2" />

    <!-- Eye -->
    <circle cx="255" cy="150" r="4" fill="#000" />
    <circle cx="257" cy="148" r="1.5" fill="#fff" />

    <!-- The Beak (The most important part!) -->
    <!-- Upper Bill -->
    <path d="M260 145 L360 145 L360 155 L260 155 Z" fill="#f39c12" />
    <path d="M260 145 L360 145" stroke="#d35400" stroke-width="2" /> <!-- Ridge -->
    
    <!-- The Pouch -->
    <path d="M260 155 Q260 220 350 165 L360 155 Z" fill="#f1c40f" stroke="#d35400" stroke-width="2" />
    
    <!-- Beak Tip Hook -->
    <path d="M360 145 Q365 150 360 155" fill="none" stroke="#d35400" stroke-width="2" />

    <!-- Wing holding handlebars -->
    <path d="M260 280 Q300 260 330 230" fill="none" stroke="#fff" stroke-width="12" stroke-linecap="round" />
    <circle cx="330" cy="230" r="8" fill="#fff" stroke="#ccc" stroke-width="2" /> <!-- Hand/Wing tip -->

  </g>
  
  <!-- Motion Lines -->
  <path d="M100 350 L60 350" stroke="#ccc" stroke-width="3" stroke-linecap="round" />
  <path d="M110 370 L60 370" stroke="#ccc" stroke-width="3" stroke-linecap="round" />
  <path d="M90 330 L50 330" stroke="#ccc" stroke-width="3" stroke-linecap="round" />

</svg>

Token usage

20 input, 3,332 output, {"completion_tokens_details": {"reasoning_tokens": 1340}, "cost": 0.0120072, "cost_details": {"upstream_inference_cost": 0.0120072, "upstream_inference_prompt_cost": 1.2e-05, "upstream_inference_completions_cost": 0.0119952}}

@simonw
Copy link
Copy Markdown
Author

simonw commented Feb 17, 2026

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment