Media Variants
各画像の URL レスポンスについて、 Natsuneko Laboratory Platform はベースとなる URL を返します。 ベース URL 末尾に下記バリアントを追加することで、画像のバイナリを入手することが可能です。
例:
GET https://cdn.natsuneko.com/images/579bc950-6e58-49e8-8658-ebfb2853fddb/b3c7b0e4-d36e-4414-8b93-e6733508f705/:variant
// 大きめ画像
GET https://cdn.natsuneko.com/images/579bc950-6e58-49e8-8658-ebfb2853fddb/b3c7b0e4-d36e-4414-8b93-e6733508f705/large
Variant
name | size | object-fit | description |
|---|---|---|---|
header | 1500x500 | scale-down | ユーザーヘッダー |
large | 4096x4096 | scale-down | 詳細プレビュー用の大きめ画像 |
medium | 2048x2048 | scale-down | タイムラインプレビュー用の中くらいの画像 |
ogp | 1200x630 | cover | OGP 画像 |
original | 9999x9999 | scale-down | オリジナルサイズの画像、 Cloudflare Images の制限により長いほうの幅が 9999px に制限されます。 |
small | 1024x1024 | scale-down | ギャラリーページなどでのプレビュー用の小さめの画像 |
thumbnail | 512x512 | crop | アップロード画面でのサムネイル用クロップ画像 |
tiny | 256x256 | crop | ユーザーアイコン向けのごく小さい画像 |
xlarge | 8192x8192 | scale-down | 詳細プレビューの大きめ画像 |
xsmall | 512x512 | scale-down | ギャラリーページなどでのプレビュー用の小さめの画像 |
Last modified: 16 3月 2025