Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Free photo to SVG converter

免费AI 图片

Upload a photo and get an SVG: the subject is redrawn with solid-color shapes and saved as a file that scales to any size.

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

示例结果

A camper van photo redrawn with flat vector shapes.编辑前的原始图片之前之后
示例

A camper van photo redrawn with flat vector shapes.

如何使用 Photo to SVG

三个步骤,在电脑或手机上都可以。

  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 vector look

    Pick Vector look (Flat colors, Line art, Silhouette or Two colors), then select Make SVG. A result usually takes about 20 seconds.

  3. 03

    Compare and download

    Compare it with your original, then download a PNG, or an SVG traced from it in the browser. Example on this page: a camper van photo redrawn with flat vector shapes.

更多示例

同一工具在其他照片上的效果,没有人工编辑。打开一个即可自己试用。

大家用它来做什么

  • Prints

    Posters and canvases that scale.

  • Cutting projects

    Silhouettes from a photo.

  • Web graphics

    Light illustrations from your own photos.

获得更好结果的技巧

  • A photo with one clear subject works best.
  • Silhouette gives a cut-ready shape.
  • Line art suits engraving.

需要更多控制?使用 API

此工具基于 SandBase 图像 API 运行。API 可为你提供免费工具替你固定好的所有设置。

  • 更高质量和更大尺寸一次调用即可获得 quality=high、最高 2K 尺寸和透明背景。
  • 你自己的提示词修改模板、添加参考图片,或从你的代码或 Agent 批量处理数百张图片。
  • 按张付费在免费工具额度之外使用你的 SandBase 余额。仍受模型可用性和 API 速率限制影响。
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=Redraw this photo as flat vector artwork with a small palette of solid colors. Keep the subject and composition recognizable. Use solid flat colors only, no gradients, no shadows, no textures, no photographic detail, crisp edges and no lines thinner than 4 px, on a plain white background, so it traces cleanly to SVG.'
此示例使用的是示例设置,并请求更高质量的输出。你可以根据自己的任务修改提示词。免费工具也可能在你的浏览器中处理下载。

常见问题

How big is the SVG?

Simple pictures are a few dozen kilobytes. More colors and shapes make a larger file.

Photo to SVG 免费吗?

是的,无水印、无需注册。运行一次 Photo to SVG 大约需要 20 秒,并会生成 一个 PNG,或在浏览器中由其描摹生成的 SVG。它会占用每日免费 AI 图像额度的一次运行,该额度在所有 AI 图像工具之间共享:未登录每天 10 次,注册免费 SandBase 账号后每天 30 次。工具会显示你还剩多少次,次数在 UTC 午夜重置;也可能受网络和站点级限制影响。

我上传到 Photo to SVG 的照片会怎样处理?

你的照片和设置会由 SandBase 及图像提供方处理,以生成这一结果。Photo to SVG 不会将任何内容发布到公开画廊。结果最多可从缓存中复用 24 小时,因此相同请求不会再次消耗次数;如需保留,请下载你想保存的结果。