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

Free military portrait generator

免费AI 图片

Turn a photo into a formal service-style portrait with a dress uniform look and studio flag backdrop, for keepsakes and family tributes.

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

示例结果

A photo turned into a formal service-style portrait.编辑前的原始图片之前之后
示例

A photo turned into a formal service-style portrait.

如何使用 Military Portrait Generator

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

  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. Then type your anything to add (optional) (optional), for example "e.g. warmer light".

  2. 02

    Run it

    Select Make image (formal service-style portraits). 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 turned into a formal service-style portrait.

更多示例

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

大家用它来做什么

  • Family tributes

    Honor a relative.

  • Memorial displays

    A formal portrait for a service.

  • Gifts

    A framed portrait.

获得更好结果的技巧

  • Use a clear, front-facing photo.
  • Describe the uniform color in “Anything to add”.
  • Print on matte paper for frames.

需要更多控制?使用 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=Turn this photo into a formal service portrait of the same person in a dark olive green military-style dress uniform jacket with plain brass buttons and a peaked service cap, with no real insignia, flags or badges, in front of a plain studio backdrop. Keep the face, identity, age, skin tone and features exactly the same; do not beautify, slim or reshape anything.'
此示例使用的是示例设置,并请求更高质量的输出。你可以根据自己的任务修改提示词。免费工具也可能在你的浏览器中处理下载。

常见问题

Is this an official portrait?

No. It is a keepsake, not an official military photo.

Can I add medals?

General decorations are drawn; real awards should not be copied.

Does it use real military insignia?

No. The uniform is generic with no real rank, unit or country insignia.

Will it change anything else?

The prompt asks to preserve details outside the edit, but AI can still alter faces, text or textures. Compare with the original before you download.

Military Portrait Generator 免费吗?

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

我上传到 Military Portrait Generator 的照片会怎样处理?

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