การโอนสไตล์ AI

ใช้สไตล์การวาดภาพแบบประสาทกับรูปของคุณ เลือกขนาดและความแข็งแรงของเส้นเลือดขอด

ทำงานในเบราว์เซอร์ของคุณ ไฟล์ไม่ออกจากอุปกรณ์ ดูวิธีตรวจสอบ

…

วิธีทำ

  1. 1
    เพิ่มรูป

    เลือกภาพภูมิทัศน์ สัตว์เลี้ยง หรือเมือง

  2. 2
    เติมรุ่น

    ยอมรับที่จะดาวน์โหลดเครือข่ายสไตล์ครั้งเดียว

  3. 3
    เลือกสไตล์

    มอไซค์, ของหวาน, เจ้าหญิงฝน หรือ อูดนี

  4. 4
    กําหนดขนาดรายละเอียด

    ขนาดเล็กสําหรับการแทรกที่กล้าหาญ ใหญ่กว่าสําหรับการแท็กที่ดี

  5. 5
    ปรับรูปร่าง

    เปลี่ยนความแรงและเก็บสีถ้าต้องการ

  6. 6
    การส่งออก

    ดาวน์โหลดรูปแบบขนาดเต็ม

เกี่ยวกับเครื่องมือนี้

Neural style transfer repaints the content of one picture with the textures and colours of another. Early methods needed minutes per image on a powerful graphics card. Fast neural style networks, introduced by Johnson, Alahi and Fei-Fei in 2016, learn one style in advance so that each new photo needs only a single quick pass. This tool runs four such networks from the ONNX Model Zoo in your browser: mosaic, candy, rain princess and udnie.

The four styles

Mosaic breaks the picture into bright, tile-like fragments. Candy uses bold, sweet colours with flowing strokes. Rain princess gives dark, glowing tones with wet-looking strokes. Udnie produces abstract, blocky shapes inspired by early modernist painting. Each model is about 6.7 MB and is downloaded only when you first use that style.

Detail size and tiling

The networks were trained on 224 x 224 pixel images and take exactly that size. To work on larger pictures, the tool splits the photo into overlapping 224 pixel tiles, styles each one and blends them with feathered edges so no seams show. The detail size setting decides how big the photo is before tiling: small sizes give large, bold strokes and finish quickly; large sizes give fine strokes and take longer, because many more tiles are painted. The result is then scaled to your original size.

Strength and colour

Strength blends the stylised picture with the original. Values around 60 to 85 percent often look best, keeping faces and details readable. Keep the original colours uses only the brightness pattern of the style and the colours of your photo, a popular technique for subtler, more photographic results.

Speed

On a typical laptop each tile takes a fraction of a second. A medium detail picture is ready in a few seconds; very fine detail can take a minute. Progress is shown while tiles are painted. The work runs on your processor, so nothing is uploaded.

Good subjects

Landscapes, cityscapes, pets, flowers and architecture work well. Portraits benefit from lower strength and the keep-colours option. Busy photos with many small details can become hard to read in strong styles.

Ideas

Posters, greeting cards, album covers, profile pictures and a consistent art series from holiday photos.

Rights

The four networks were trained on well-known artworks and are published under a BSD licence. The pictures you create from your own photos are yours to use, but do not present them as original paintings by the artists whose works inspired the styles.

Limits

Only these four styles are available; training a new style needs a GPU and a training set, which is not possible in a browser. Tile blending is very good but can occasionally show slight variations of texture across a large flat area.

ตัวอย่างพร้อมวิธีทำ

ภาพที่ขนาด 4000 x 3000 ของท่าเรือที่มีรูปแบบของขนมหวาน ขนาดเฉลี่ย (768 px, 20 ตะเบียน) และความแข็งแรง 80% ใช้เวลาประมาณ 8 วินาทีและนําไปส่งออกในขนาดเต็ม 4000 x 3000 เป็นโปสเตอร์

สรุปสั้น ๆ

คำถามที่พบบ่อย

การถ่ายทอดสไตล์ประสาทที่รวดเร็วคืออะไร?

เครือข่ายที่ฝึกล่วงหน้าในงานศิลปะหนึ่ง ที่สามารถทาสีรูปแบบนั้นใหม่ได้

ทําไมมีแค่สี่แบบล่ะ

ทุกรูปแบบเป็นเครือข่ายที่ได้รับการฝึกอบรมแยกกัน ทั้งสี่รูปแบบนี้มีใบอนุญาตเปิด และเล็กพอสําหรับบราว์เซอร์

ผมทํายังไงให้สวยกว่านี้

เลือกขนาดรายละเอียดที่ใหญ่กว่า มันใช้เวลานานขึ้น เพราะมีแผ่นสีมากกว่า

ผมเก็บสีรูปได้มั้ย

ใช่ ตั๊กเก็บสีเดิม เพื่อใช้แค่เนื้อเยื่อของสไตล์

การดาวน์โหลดขนาดไหน

ประมาณ 6.7 MB ต่อสไตล์ ดาวน์โหลดครั้งแรกที่คุณใช้มัน

รูปผมโหลดแล้วเหรอ

ไม่ สไตล์จะทํางานบนเครื่องของคุณ

ฟรีทั้งหมดไม่มีค่าใช้จ่าย ไม่ต้องสมัคร
ไฟล์เป็นส่วนตัวทุกอย่างทำงานในเบราว์เซอร์ของคุณ
ใช้ง่ายในภาษาของคุณมีหลายภาษา