Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Free add hat to photo

GratisGambar AI

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

Hasil contoh

A photo with a brown cowboy hat.Gambar asli sebelum dieditSebelumSesudah
Contoh

A photo with a brown cowboy hat.

Cara menggunakan Add Hat to Photo

Tiga langkah, di komputer atau ponsel.

  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.

Lebih banyak contoh

Alat yang sama pada foto lain, tanpa edit manual. Buka salah satunya untuk mencobanya sendiri.

Untuk apa orang menggunakannya

  • 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.

Tips untuk hasil yang lebih baik

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

Perlu kontrol lebih? Gunakan API

Alat ini berjalan di SandBase image API. API memberi Anda setiap setelan yang dibekukan oleh alat gratis untuk Anda.

  • Kualitas dan ukuran lebih tinggiquality=high, ukuran hingga 2K, dan latar belakang transparan dalam satu panggilan.
  • Prompt Anda sendiriUbah template, tambahkan gambar referensi, atau proses ratusan gambar secara batch dari kode Anda atau Agent.
  • Bayar per gambarGunakan saldo SandBase Anda setelah kuota alat gratis habis. Ketersediaan model dan batas laju API tetap berlaku.
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.'
Contoh ini menggunakan setelan sampel dan meminta output dengan kualitas lebih tinggi. Ubah prompt untuk tugas Anda sendiri. Alat gratis juga dapat memproses unduhan di browser Anda.

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.

Apakah Add Hat to Photo gratis?

Ya, tanpa watermark dan tanpa daftar. Satu kali menjalankan Add Hat to Photo memakan waktu sekitar 20 detik dan memberi Anda JPG. Ini menggunakan satu kali jatah harian gratis untuk image AI, yang dibagikan di semua alat AI image: 10 kali per hari tanpa login dan 30 kali dengan akun SandBase gratis. Alat menampilkan sisa jatah Anda, dan hitungan direset pada pukul 00.00 UTC; batas jaringan dan batas di seluruh situs juga dapat berlaku.

Apa yang terjadi pada foto yang saya unggah ke Add Hat to Photo?

Foto Anda dan setelan Anda diproses oleh SandBase dan penyedia image untuk menghasilkan satu hasil ini. Add Hat to Photo tidak memublikasikan apa pun ke galeri publik. Hasil dapat digunakan ulang dari cache hingga 24 jam, jadi permintaan yang identik tidak memakai satu kali run lagi; unduh hasil apa pun yang ingin Anda simpan.