typestring
person: chibi sprite; other: bead-art icon.
Standard: "other"
Mögliche Werte: "person", "other"
meshy/creative-lab/fidget-pixelTurns a photo into a multi-color pixel-art fidget board, returned as a 3MF.
Modell testen
PNG, JPEG, WebP oder GIF · maximal 20 MiB
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
Turns a photo into a multi-color pixel-art fidget board, returned as a 3MF.
| Field | Type | Default | Notes |
|---|---|---|---|
image | string, required | — | Photo of the subject, as an image URL or base64 data URI (JPG, PNG or WebP). |
type | person / other | "other" | person: chibi sprite; other: bead-art icon. |
shape | square / hex | "square" | Footprint of each piece. |
grid_size | 16 / 32 | 32 | Cells per side. |
color_count | integer 2–16 | 8 | Number of colors. |
url: Multi-color 3MF.concept_image: Pixel-art image.$1.44 per object (concept image + 3D build).
Jetzt loslegen
Senden Sie dieses Modell über die SandBase Unified Run API.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "meshy/creative-lab/fidget-pixel",
"type": "other",
"image": "https://v3b.fal.media/files/b/zebra/3osHJDI8IZ2wl6sGtEUeB_image.png",
"shape": "square",
"grid_size": 32,
"color_count": 8
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Erstellen Sie einen SandBase API-Schlüssel und legen Sie ihn in Ihrer Serverumgebung fest. Alle Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie den Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis und committen Sie ihn nicht in ein Repository.
POST an /v1/run mit dieser Modell-ID und ihren Eingaben. Das obige Anfragebeispiel umfasst Übermittlung und Polling.
Verwenden Sie die zurückgegebene Run-ID zum Polling, bis der Status completed, failed oder timeout ist. Lesen Sie die Ausgabe erst nach completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Übergeben Sie eine öffentlich zugängliche Date-URL im Bild-, Video- oder Audiofeld des Modells. Unterstützte Formate und Limits werden neben jedem Playground-Eingabefeld angezeigt.
Verwenden Sie im Playground bei unterstützten Bildfeldern die Steuerung zum Hochladen oder Ersetzen. Video-URL-Felder akzeptieren ein gehostetes Fahrvideo; sie implizieren keine Unterstützung für Video-Uploads.
typestringperson: chibi sprite; other: bead-art icon.
Standard: "other"
Mögliche Werte: "person", "other"
imagestringerforderlichPhoto of the subject, as an image URL or base64 data URI (JPG, PNG or WebP).
shapestringFootprint of each piece.
Standard: "square"
Mögliche Werte: "square", "hex"
grid_sizeintegerCells per side.
Standard: 32
Mögliche Werte: 16, 32
color_countintegerNumber of colors.
Standard: 8
Minimum: 2
Maximum: 16
{
"model": "meshy/creative-lab/fidget-pixel",
"type": "other",
"image": "https://v3b.fal.media/files/b/zebra/3osHJDI8IZ2wl6sGtEUeB_image.png",
"shape": "square",
"grid_size": 32,
"color_count": 8
}Ein abgeschlossener Run stellt sein Ergebnis in der Ausgabe bereit. Das Folgende ist das gespeicherte Beispiel des Modells, keine neue Generierung.
Noch wurde kein Beispiel für die Ausgabe veröffentlicht. Verwenden Sie Playground → Result → JSON nach einem abgeschlossenen Run, um Ihre Antwort zu prüfen.