Free add hat to photo
GratisGambar AITry 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

SebelumSesudahA photo with a brown cowboy hat.
Cara menggunakan Add Hat to Photo
Tiga langkah, di komputer atau ponsel.
- 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.
- 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.
- 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.

Sebelum 
Sesudah Coba di foto Anda
Unggah foto dan dapatkan hasil dalam hitungan detik. Gratis, tanpa daftar, tanpa watermark.
Unggah foto
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.
# 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.'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.
SandBase APIs untuk tugas ini
Data yang sama di kode Anda sendiri atau Agent: satu API key, ditagih per panggilan.
Lebih banyak tools
Add Santa Hat to Photo
Add santa hat to a photo, blended in naturally.
AI Photo Editor
Edit any photo by describing the change in plain words: weather, outfit, light, background. Review the rest of the image for unintended changes.
Add Sparkles to Photo
Add sparkles to a photo, blended in naturally.
Add Sunglasses to Photo
Add sunglasses to a photo, blended in naturally.
Add Bunny Ears to Photo
Add bunny ears to a photo, blended in naturally.
Add Hearts to Photo
Add hearts to a photo, blended in naturally.
