typestring
person: chibi sprite; other: bead-art icon.
기본값: "other"
가능한 값: "person", "other"
meshy/creative-lab/fidget-pixelTurns a photo into a multi-color pixel-art fidget board, returned as a 3MF.
모델 사용해 보기
PNG, JPEG, WebP 또는 GIF · 최대 20 MiB
출력이 여기에 표시됩니다
입력을 완료한 다음 Run을 클릭하세요.
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).
빌드를 시작하세요
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"SandBase API 키를 생성해 서버 환경에 설정하세요. 모든 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하거나 저장소에 커밋하지 마세요.
이 모델 ID와 입력값을 사용해 /v1/run로 POST하세요. 위의 요청 예시에는 제출과 폴링이 포함되어 있습니다.
반환된 실행 ID를 사용해 상태가 completed, failed 또는 timeout이 될 때까지 폴링하세요. completed 이후에만 출력을 읽으세요.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"모델의 이미지, 비디오 또는 오디오 필드에 공개적으로 접근 가능한 파일 URL을 전달하세요. 지원 형식과 제한은 각 Playground 입력 옆에 표시됩니다.
Playground의 지원되는 이미지 필드에서 업로드 또는 교체 컨트롤을 사용하세요. 비디오 URL 필드는 호스팅된 driving video를 받으며, 비디오 업로드 지원을 의미하지는 않습니다.
typestringperson: chibi sprite; other: bead-art icon.
기본값: "other"
가능한 값: "person", "other"
imagestring필수Photo of the subject, as an image URL or base64 data URI (JPG, PNG or WebP).
shapestringFootprint of each piece.
기본값: "square"
가능한 값: "square", "hex"
grid_sizeintegerCells per side.
기본값: 32
가능한 값: 16, 32
color_countintegerNumber of colors.
기본값: 8
최소값: 2
최대값: 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
}완료된 실행의 결과는 출력에 표시됩니다. 아래 내용은 새 생성 결과가 아니라 모델에 저장된 예시입니다.
예시 출력이 아직 게시되지 않았습니다. 완료된 실행 후 Playground → Result → JSON에서 응답을 확인하세요.