Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
683
1.02k
type
stringclasses
1 value
width
int64
683
1.02k
height
int64
645
1.02k
categories
listlengths
2
4
caption
stringlengths
238
396
source
stringclasses
1 value
license
stringclasses
1 value
image
1,024
1,024
[ "illustration", "anime", "scene" ]
Flat anime-style illustration of a young girl with brown hair, a white shirt and skirt, carrying a guitar in a soft case on her back, standing in silhouette in an open doorway whose threshold radiates bright orange flames; the door sits on a rocky lunar-like plain under a starry teal night sky with stylized clouds, lig...
pexels-or-similar
free-to-use (CC0-style)
image
853
1,024
[ "illustration", "anime", "portrait", "character" ]
Flat anime-style portrait illustration of a young woman with long black hair tied in two small buns, blue eyes, wearing a black mouth mask and an orange utility jacket with two black chest pockets; two katana-like sword hilts wrapped in white cord rise from behind her shoulders; centered against a flat dark red-brown b...
pexels-or-similar
free-to-use (CC0-style)
image
1,024
683
[ "portrait", "person", "studio", "costume" ]
Studio portrait of a young woman with shoulder-length wavy black hair wearing a white Apollo-style NASA spacesuit with American flag and NASA insignia patches, holding a white space helmet under one arm; soft studio key light, plain dark grey backdrop, three-quarter body horizontal composition.
pexels-or-similar
free-to-use (CC0-style)
image
1,024
681
[ "animal", "portrait", "close-up", "nature" ]
Close-up portrait of a fluffy white-and-tan lionhead rabbit with a small white daisy tucked behind its ear, facing the camera; shallow depth of field on a softly out-of-focus grass background in warm golden-hour light, horizontal framing.
pexels-or-similar
free-to-use (CC0-style)
image
768
1,024
[ "object", "food", "still-life" ]
Tall round chocolate layer cake topped with chocolate shards and pastel candy pearls, dripping ganache and pastel rainbow sprinkles down the side, on a dark grey ceramic cake stand; flat off-white wall and pale blue surface, soft diffused studio light, centered vertical food still-life composition.
pexels-or-similar
free-to-use (CC0-style)
image
683
1,024
[ "animal", "portrait" ]
Vertical close-up portrait of a young cream-colored golden-retriever-like dog standing on a grassy patch beside a pond, tongue slightly out, looking toward the camera; overcast natural light, shallow depth of field with blurred trees and water in the background.
pexels-or-similar
free-to-use (CC0-style)
image
683
1,024
[ "person", "child", "animal", "outdoor" ]
Young toddler girl with curly blond hair, sparkly multicolor sequin skirt and a white top with a Minnie-Mouse-style bow, kneeling on a dusty cobblestone street and laughing as a small tan puppy nuzzles her face; a second tan puppy and an orange tabby cat eating from a green bowl are nearby; warm late-afternoon sunlight...
pexels-or-similar
free-to-use (CC0-style)
image
683
1,024
[ "object", "close-up", "art" ]
Close-up of a hand holding a wooden graphite pencil, mid-stroke on an open sketchbook with a partially drawn pencil sketch of a face resting on a hand; spiral binding visible at right, wooden tabletop, dark out-of-focus background; soft window light, shallow-depth vertical composition.
pexels-or-similar
free-to-use (CC0-style)
image
684
1,024
[ "animal", "outdoor", "landscape" ]
Dappled grey horse with a white mane and tail and a black halter walking left across a green pasture; tall green deciduous trees and a wooden fence in the background, a second white-grey horse partially visible far behind; overcast natural daylight, horizontal landscape framing with the horse in the lower-center.
pexels-or-similar
free-to-use (CC0-style)
image
1,024
880
[ "illustration", "scene", "children" ]
Cartoon children's-book illustration of a large brown tree filling the frame with four little wooden houses nestled in its branches (pink, brown, purple-and-pink, and blue) inhabited by stylized birds, a squirrel, a fox, and a cat; pale blue sky with white clouds and pastel flowers; flat colors with paper-texture grain...
pexels-or-similar
free-to-use (CC0-style)
image
767
1,024
[ "landscape", "outdoor" ]
Vertical landscape of a misty mountain wrapped in low clouds above a flat valley with a bright yellow rapeseed field; an empty wet asphalt road in the foreground with a single parked white scooter; distant village and trees, moody overcast grey sky, muted desaturated palette.
pexels-or-similar
free-to-use (CC0-style)
image
768
1,024
[ "person", "portrait", "outdoor", "beach" ]
Older man with grey hair, sunglasses, black backpack and a black tank top, blue-and-white striped swim shorts, walking barefoot through shallow water at the edge of a pebble beach and holding blue sandals in one hand; rugged cliffs and a small village in the background, two beach-goers seated on the sand; overcast dayl...
pexels-or-similar
free-to-use (CC0-style)
image
1,024
645
[ "object", "still-life", "toy" ]
Close-up of two plastic Nintendo figurines on a wooden surface: a green Yoshi figurine on the left and a Super Mario figurine (red cap with white "M", blue overalls, white gloves, mustache) on the right; out-of-focus deep-green foliage background, soft natural light, horizontal toy-photography composition.
pexels-or-similar
free-to-use (CC0-style)
image
683
1,024
[ "object", "food", "still-life" ]
Overhead vertical photo of a white bowl of yellow instant noodles topped with a single green pea pod, set on a textured white wooden table; a strip of red salmon-like fish at upper left, a small glass cup of dark soy sauce above the bowl, and chopsticks at lower right; hard directional sunlight casting strong angular s...
pexels-or-similar
free-to-use (CC0-style)
image
1,024
651
[ "object", "still-life", "toy" ]
Three yellow rubber ducks of increasing size arranged left to right on a glossy black reflective surface, each casting a clear mirror reflection beneath it; completely black background, dramatic side lighting on the ducks, horizontal still-life composition.
pexels-or-similar
free-to-use (CC0-style)
image
683
1,024
[ "object", "still-life", "outdoor", "beach" ]
Beach still life: a small black letter-board sign in a wooden frame reading "SUMMER TIME" propped against a driftwood log, with a vintage Pentax K1000 SLR camera beside it; sandy beach foreground, hazy ocean and a small green-and-white boat in the soft overcast distance; pale natural light, vertical composition with la...
pexels-or-similar
free-to-use (CC0-style)
image
683
1,024
[ "object", "outdoor", "landscape" ]
Large beige glamping-style tent with a green branded flag set up in a clearing in a lush pine-and-fern forest; small camping table, chairs and storage boxes visible at the entrance; foreground tree branches blurred at the edges of the frame, soft overcast daylight, vertical composition.
pexels-or-similar
free-to-use (CC0-style)
image
683
1,024
[ "portrait", "person" ]
Vertical street portrait of a smiling young Black woman with a curly afro and gold hoop earrings, white short-sleeve crop top and blue jeans, standing on a cobblestone street in front of a flat dark grey corrugated-metal garage door; soft natural daylight, three-quarter body composition.
pexels-or-similar
free-to-use (CC0-style)
image
1,024
683
[ "portrait", "person", "close-up" ]
Close-up vertical portrait of a young Black woman with curly hair pulled up, a gold stud earring and a small nose ring, wearing a dark green wool coat with a wide collar over a navy chunky-knit turtleneck; she looks downward with a pensive, downcast expression; out-of-focus brick wall and a distant pedestrian behind he...
pexels-or-similar
free-to-use (CC0-style)

Gradio Space Example Inputs — Images

A small, curated, freely-licensed pool of images used as gr.Examples for Gradio Spaces that wrap image-input generation models (image-to-image, edits, controls, etc.). Sister dataset for videos: linoyts/repo-to-space-example-videos.

When a Space takes image input, the agent building the Space picks 2–3 images whose caption + categories match the model's task, downloads them via hf_hub_download, runs any model-specific preprocessing (resize to expected shapes), and wires them into gr.Examples. The Space ships the preprocessed copies; this dataset is the source of truth.

The set is intentionally diverse on subject, framing, and style so a caller can pick examples that flatter a specific model without needing to source new media each time.

Schema

metadata.jsonl — one JSON object per line, one record per asset:

{
  "file_name": "woman.jpg",
  "type": "image",
  "width": 683,
  "height": 1024,
  "categories": ["portrait", "person"],
  "caption": "Vertical street portrait of a smiling young Black woman ...",
  "source": "pexels-or-similar",
  "license": "free-to-use (CC0-style)"
}

The asset key is file_name (with underscore) — required by HF's folder_based_builder for the dataset viewer; other spellings (filename, path, ...) break it with SplitsNotFoundError.

Field Type Notes
file_name string Filename in this repo root.
type "image"
width, height int Stored dimensions (post the source-shape constraints below).
categories list of strings Coarse subject tags for fast filtering.
caption string Natural-language description: subject(s), setting/background, lighting, composition. No use-case judgments — the caller infers fit from the description.
source, license string Provenance / licensing.

categories are for cheap pre-filtering (drop landscape for a face-edit model, etc.). caption is for the finer matching step against the target model's task or example prompts.

Picking examples for a Space

  1. Soft filter by categories — drop tags that are clearly off-task for the target model (e.g. landscape for a face-edit model).
  2. Rank by caption fit — read the surviving captions against the model's task description, trigger words, or example prompts; pick 2–3 the model will plausibly produce a good output on, not just any input that doesn't crash.
  3. Diversify the final picks — different subjects, framings, or lighting conditions — so the Examples row teaches users the breadth of what the Space handles.
from huggingface_hub import hf_hub_download
import json

DATASET = "linoyts/repo-to-space-example-inputs"
meta = [json.loads(l) for l in open(
    hf_hub_download(DATASET, filename="metadata.jsonl", repo_type="dataset"))]

# ... filter + rank using `categories` and `caption` ...

chosen = ["woman.jpg", "man_beach.jpg", "girl_with_dog.jpg"]
paths = [hf_hub_download(DATASET, filename=f, repo_type="dataset") for f in chosen]
# preprocess paths for the target model, then pass to gr.Examples in the Space.

Pre-bake the preprocessed copies into the Space repo. Don't rely on the dataset at Space runtime, and don't set cache_examples=True on ZeroGPU.

Source-shape constraints

  • Images: max 1024 px on the long edge, JPEG quality 90.

Callers resize further per model (e.g. Qwen-Image wants multiples of 8/16).

License

All assets are sourced from royalty-free providers (Pexels / Unsplash and similar) under licenses that permit redistribution and modification without attribution. Released here as CC0-1.0 for simplicity.

Downloads last month
110