Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Free add hat to photo

KostenlosKI-Bild

Try a hat on your photo: cowboy hat, fedora, beanie or baseball cap, fitted to your head and lit like the photo.

  • 100% free
  • No sign-up
  • No watermark
  • Works on phone

Beispielergebnis

A photo with a brown cowboy hat.Originalbild vor der BearbeitungVorherNachher
Beispiel

A photo with a brown cowboy hat.

So verwenden Sie Add Hat to Photo

Drei Schritte, am Computer oder auf dem Smartphone.

  1. 01

    Upload a photo

    Drop, paste or pick a JPG, PNG, WebP or HEIC image; on a phone you can take one with the camera.

  2. 02

    Choose what to add

    Pick What to add (Cowboy hat, Beanie, Fedora or Baseball cap), then select Add to photo. A result usually takes about 20 seconds.

  3. 03

    Compare and download

    Compare it with your original, then download a JPG. Example on this page: a photo with a brown cowboy hat.

Weitere Beispiele

Das gleiche Tool auf anderen Fotos, ganz ohne manuelle Bearbeitung. Öffnen Sie eines, um es selbst auszuprobieren.

Wofür es verwendet wird

  • Shopping for a hat

    See what suits you before buying.

  • Costumes

    Try a look for a party.

  • Fun edits

    A new style for a profile picture.

Tipps für ein besseres Ergebnis

  • Use a front-facing photo with space above the head.
  • Try two or three styles.
  • Wide brims suit oval faces; caps suit most.

Mehr Kontrolle nötig? Verwenden Sie die API

Dieses Tool läuft auf der SandBase-Bild-API. Die API gibt Ihnen jede Einstellung, die das kostenlose Tool für Sie festlegt.

  • Höhere Qualität und Größequality=high, Größen bis zu 2K und transparente Hintergründe in einem Aufruf.
  • Ihr eigener PromptÄndern Sie die Vorlage, fügen Sie Referenzbilder hinzu oder verarbeiten Sie Hunderte von Bildern stapelweise aus Ihrem Code oder Agent.
  • Pro Bild bezahlenVerwenden Sie Ihr SandBase-Guthaben über das kostenlose Tool-Kontingent hinaus. Modellverfügbarkeit und API-Ratenlimits gelten weiterhin.
cURL

# Set SANDBASE_API_KEY and choose your local image file.
IMAGE_FILE="photo.jpg"
curl --fail-with-body https://api.sandbase.ai/v1/images/edits \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  --form-string 'model=gpt-image-2.6-flare' \
  --form "image=@${IMAGE_FILE}" \
  --form-string 'quality=high' \
  --form-string 'size=2048x2048' \
  --form-string 'prompt=Add a brown cowboy hat to this photo, blended in naturally with matching light, shadows, perspective and color. Keep the people, faces, identity and everything else exactly as they are.'
Dieses Beispiel verwendet die Beispiel-Einstellungen und fordert eine Ausgabe mit höherer Qualität an. Passen Sie den Prompt für Ihre eigene Aufgabe an. Das kostenlose Tool kann Downloads möglicherweise auch in Ihrem Browser verarbeiten.

FAQ

Which hat suits my face?

Fedoras suit long faces; beanies and caps suit most. Try a few.

Will it cover my hair?

It sits naturally on the head, like a real hat.

Will it change my face?

No. The prompt keeps faces and everything else as they are; only the new element is added.

Ist Add Hat to Photo kostenlos?

Ja, ohne Wasserzeichen und ohne Anmeldung. Ein Durchlauf von Add Hat to Photo dauert etwa 20 Sekunden und liefert Ihnen ein JPG. Er nutzt einen Durchlauf des kostenlosen täglichen Kontingents für KI-Bilder, das für alle KI-Bild-Tools gemeinsam gilt: 10 Durchläufe pro Tag ohne Anmeldung und 30 mit einem kostenlosen SandBase-Konto. Das Tool zeigt Ihnen, wie viele noch übrig sind, und das Kontingent wird um Mitternacht UTC zurückgesetzt; es können außerdem Netzwerk- und seitenweite Limits gelten.

Was passiert mit dem Foto, das ich in Add Hat to Photo hochlade?

Ihr Foto und Ihre Einstellungen werden von SandBase und dem Bildanbieter verarbeitet, um dieses eine Ergebnis zu erstellen. Add Hat to Photo veröffentlicht nichts in einer öffentlichen Galerie. Ergebnisse können bis zu 24 Stunden aus einem Cache wiederverwendet werden, sodass eine identische Anfrage keinen weiteren Durchlauf verbraucht; laden Sie jedes Ergebnis herunter, das Sie behalten möchten.