Getting Started使い方
Generate custom developer images by simply specifying the image size and parameters in the URL.URLに画像サイズとパラメータを指定するだけで、開発用画像を生成できます。
Basic Usage基本的な使い方
https://sampleimg.com/800x450Developer images from a URL.URLだけで開発用画像を生成。
Free Placeholder Image API with deterministic mock images, QR, OG, Avatar, Chart & more. No API key required.決定性モック画像、QR、OG、アバター、チャートなどに対応した無料画像API。APIキー不要です。
BUILD FROM A URLURLから画像を作成
Tune the image, preview the real API response, then copy the snippet you need.画像を調整し、実際のAPIレスポンスを確認して、必要なコードをコピーできます。
Generate custom developer images by simply specifying the image size and parameters in the URL.URLに画像サイズとパラメータを指定するだけで、開発用画像を生成できます。
https://sampleimg.com/800x450| Parameterパラメータ | Description説明 | Defaultデフォルト | Example例 |
|---|---|---|---|
size | Image size (width x height)画像サイズ(幅x高さ) | - | 800x450 |
bg | Background color (hex, without #)背景色(hex、#なし) | cccccc | ?bg=ff6b6b |
fg | Text color (hex, without #)文字色(hex、#なし) | 333333 | ?fg=ffffff |
text | Display text (max 100 chars)表示テキスト(最大100文字) | Size (e.g., 800x450)サイズ(例: 800x450) | ?text=Hello |
format | Output format. SVG/PNG are native; JPEG/WebP currently return PNG.出力形式。SVG/PNG対応、JPEG/WebP指定時は現在PNGを返します。 | png | ?format=svg |
fontSize | Text size (1-512px)文字サイズ(1-512px) | min(w,h)/10 | ?fontSize=48 |
radius | Corner radius (0-100px)角丸半径(0-100px) | 0 | ?radius=20 |
border | Border width (0-50px)枠線幅(0-50px) | 0 | ?border=2 |
borderColor | Border color (hex, without #)枠線色(hex、#なし) | 000000 | ?borderColor=ff0000 |
padding | Inner padding (0-200px)内部余白(0-200px) | 0 | ?padding=40 |
align | Text horizontal alignmentテキスト水平位置 | center | ?align=left |
valign | Text vertical alignmentテキスト垂直位置 | middle | ?valign=top |
weight | Font weight (normal/bold/100-900)フォント太さ(normal/bold/100-900) | normal | ?weight=bold |
lineHeight | Line height (0.5-3.0)行間(0.5-3.0) | 1.2 | ?lineHeight=1.5 |
letterSpacing | Letter spacing (-10 to 50px)字間(-10~50px) | 0 | ?letterSpacing=2 |
gradient | Gradient type (linear | radial)グラデーション種類(linear | radial) | - | ?gradient=linear |
angle | Gradient angle (0-360°, linear only)グラデーション角度(0-360度、線形のみ) | 90 | ?angle=45 |
stops | Color stops (format: color,offset|color,offset)カラーストップ(形式: color,offset|color,offset) | - | ?stops=ff0000,0|00ff00,100 |
noise | Noise intensity (0-100)ノイズ強度(0-100) | 0 | ?noise=30 |
pattern | Pattern type (dot | grid | diagonal)パターン種類(dot | grid | diagonal) | - | ?pattern=dot |
patternColor | Pattern color (hex without #)パターン色(hex、#なし) | 000000 | ?patternColor=ff0000 |
seed | Deterministic background seed (max 200 chars)決定性背景のseed(最大200文字) | - | ?seed=product-123 |
style | Seed style: gradient, mesh, geometric, or wavesSeedスタイル: gradient / mesh / geometric / waves | gradient | ?seed=123&style=mesh |
Powered by Cloudflare Workers edge network for blazing fast access worldwideCloudflare Workersのエッジネットワークで世界中どこからでも高速アクセス
Long-term cache headers make subsequent requests ultra-fast. Global CDN delivery長期キャッシュヘッダーで2回目以降は超高速。CDNでグローバル配信
Combine color, text, size, typography, gradients, patterns, and more色、テキスト、サイズ、文字、グラデーション、パターンなどを組み合わせ可能
Accessible from any domain. No cross-origin restrictionsどんなドメインからでもアクセス可能。クロスオリジン制限なし
Responsive, stable mock images from a seed — ideal for products, users, and repeatable prototypesレスポンシブで安定したモック画像をSeedから生成。商品、ユーザー、再現可能なプロトタイプに最適
100% free up to 100K requests/month. Commercial use allowed月間10万リクエストまで完全無料。商用利用OK
Generate QR codes for URLs, text, and more.URL、テキストなどのQRコードを生成できます。
Generate Open Graph images (1200x630) for social media.ソーシャルメディア向けのOpen Graph画像(1200x630)を生成できます。
The same seed creates the same image every time. Choose a style for a different visual language.同じSeedならいつでも同じ画像を生成します。スタイルを選んで見た目を変えられます。
Generate deterministic identicons from any seed string.任意のseed文字列から決定性のあるIdenticonを生成できます。
Generate simple bar and line charts from data.データから簡易的な棒グラフと折れ線グラフを生成できます。
Generate pixel art using presets or custom patterns.プリセットまたはカスタムパターンを使用してドット絵を生成できます。
Overlay external images onto placeholder images. Supports position, size, and opacity control. Works with SVG and PNG formats.プレースホルダー画像に外部画像を重ねて合成できます。位置・サイズ・透明度の制御が可能です。SVG/PNG形式対応。
overlay: External image URL (required) 外部画像URL(必須)overlayX: X position (px, left/center/right, default: center) X座標(px、left/center/right、デフォルト: center)overlayY: Y position (px, top/middle/bottom, default: middle) Y座標(px、top/middle/bottom、デフォルト: middle)overlayWidth: Width (px, %, auto, default: auto) 幅(px、%、auto、デフォルト: auto)overlayHeight: Height (px, %, auto, default: auto) 高さ(px、%、auto、デフォルト: auto)overlayOpacity: Opacity (0.0-1.0, default: 1.0) 透明度(0.0-1.0、デフォルト: 1.0)/800x450?format=svg&overlay=https://example.com/logo.png&overlayX=right&overlayY=bottom&overlayOpacity=0.5<img src="https://sampleimg.com/800x450?bg=4a90e2&text=Placeholder" alt="Placeholder">.hero {
background-image: url('https://sampleimg.com/1920x1080?bg=667eea&text=Hero');
}