imagestringzorunlu
Input image; the subject should stand out from a clean background.
tripo3d/tripo/edit-multiviewTripo Edit Multiview generates front, left, back and right views from one image and applies text edits to chosen views, keeping the views consistent.
Modeli deneyin
PNG, JPEG, WebP veya GIF · en fazla 20 MiB
0 / 4 items
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
Tripo Edit Multiview generates front, left, back and right views from one image and applies text edits to chosen views, keeping the views consistent.
| Field | Type | Default | Notes |
|---|---|---|---|
image | string, required | — | Input image; the subject should stand out from a clean background. |
prompts | array, required | — | 1 to 4 edits, one per view: {"view": "front |
url: Front view (edited if requested).left_view: Left view.back_view: Back view.right_view: Right view.$0.10 for the four views plus $0.05 per edited view. Failed runs are not charged.
Geliştirmeye başlayın
Bu modeli SandBase Unified Run API üzerinden gönderin.
# 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": "tripo3d/tripo/edit-multiview",
"image": "https://static.sandbase.ai/examples/tripo3d/tripo-h3.1/image-to-3d/input_image_0.png",
"prompts": [
[
{
"view": "front",
"prompt": "make the horn bright red"
}
]
]
}
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"Bir SandBase API anahtarı oluşturun ve sunucu ortamınıza ayarlayın. Tüm istekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın veya bir depoya commit etmeyin.
Bu model kimliği ve girdileriyle /v1/run adresine POST gönderin. Yukarıdaki istek örneği gönderme ve yoklamayı içerir.
Durum completed, failed veya timeout olana kadar verilen run ID ile yoklama yapın. Çıktıyı yalnızca completed olduktan sonra okuyun.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Modelin image, video veya audio alanına herkese açık erişilebilir bir dosya URL'si verin. Desteklenen formatlar ve sınırlar her Playground girişinin yanında gösterilir.
Playground'daki desteklenen image alanlarında yükleme veya değiştirme kontrolünü kullanın. Video URL alanları barındırılan bir sürüş videosu kabul eder; video yükleme desteği anlamına gelmez.
imagestringzorunluInput image; the subject should stand out from a clean background.
promptsarrayzorunlu1 to 4 edits, one per view: {"view": "front|left|back|right", "prompt": "..."} (prompt up to 1,024 characters).
{
"model": "tripo3d/tripo/edit-multiview",
"image": "https://static.sandbase.ai/examples/tripo3d/tripo-h3.1/image-to-3d/input_image_0.png",
"prompts": [
[
{
"view": "front",
"prompt": "make the horn bright red"
}
]
]
}Tamamlanan bir run, sonucunu output içinde gösterir. Aşağıdaki, modelin kaydedilmiş örneğidir; yeni bir üretim değildir.
Henüz örnek çıktı yayınlanmadı. Yanıtınızı incelemek için Playground → Result → JSON'u, tamamlanan bir run sonrasında kullanın.