<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: yao zhong</title>
    <description>The latest articles on DEV Community by yao zhong (@yao_zhong_683c6b363c13b83).</description>
    <link>https://dev.to/yao_zhong_683c6b363c13b83</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4066052%2Fb0c39894-f2c9-4329-8cd8-53041f55727e.png</url>
      <title>DEV Community: yao zhong</title>
      <link>https://dev.to/yao_zhong_683c6b363c13b83</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yao_zhong_683c6b363c13b83"/>
    <language>en</language>
    <item>
      <title>Building a Two-Reference AI Portrait Pipeline with GPT Image 2</title>
      <dc:creator>yao zhong</dc:creator>
      <pubDate>Fri, 07 Aug 2026 07:33:57 +0000</pubDate>
      <link>https://dev.to/yao_zhong_683c6b363c13b83/building-a-two-reference-ai-portrait-pipeline-with-gpt-image-2-4ha6</link>
      <guid>https://dev.to/yao_zhong_683c6b363c13b83/building-a-two-reference-ai-portrait-pipeline-with-gpt-image-2-4ha6</guid>
      <description>&lt;h1&gt;
  
  
  Building a Two-Reference AI Portrait Pipeline with GPT Image 2
&lt;/h1&gt;

&lt;p&gt;Consumer AI photo products have a hard constraint that most demos ignore: the subject is not a single person, and the input is not a studio session. An AI engagement portrait needs to take two separate reference photos of two different people and produce one shared portrait that looks like both of them. This post walks through the pipeline design behind that kind of product, using a live example at the end.&lt;/p&gt;

&lt;h2&gt;
  
  
  The input problem
&lt;/h2&gt;

&lt;p&gt;The first design decision is what the user must provide. A one-photo prompt is easy; two photos introduce identity consistency across two subjects. In practice the cleanest contract is one clear photo per person, with faces well lit, similar framing, and no heavy filters or extreme angles. The product then treats both images as fixed references and never merges them into a single averaged face.&lt;/p&gt;

&lt;p&gt;The generation layer here is GPT Image 2. The two references are passed as image inputs, and the prompt supplies the scene, the relationship between the subjects, and the output constraints. The service offers eight editorial styles, including Korean Garden, Beach Romance, Enchanted Forest, Classic Elegance, Golden Hour, Bohemian Dream, Urban Chic, and Twilight Magic. Each style label is essentially a shorthand that anchors lighting, wardrobe mood, and backdrop in the generated scene.&lt;/p&gt;

&lt;h2&gt;
  
  
  The preview and credit model
&lt;/h2&gt;

&lt;p&gt;A portrait generator needs a trust loop before any payment. The product's approach: after email verification, each account gets one watermarked preview at 1K resolution. That preview is the quality gate. If a provider or storage request fails, the attempt does not consume a credit, which matters when users iterate across styles with the same two photos.&lt;/p&gt;

&lt;p&gt;Paid access is split between one-time HD packs and monthly plans. The one-time packs cover 20, 50, or 120 portraits, all HD and unwatermarked, with credits that never expire and failed renders refunded. Monthly plans start at the Basic tier and scale up to Pro, which also includes commercial-use rights per the published terms. Prices are time-sensitive and should be rechecked on the site.&lt;/p&gt;

&lt;h2&gt;
  
  
  The honesty constraint
&lt;/h2&gt;

&lt;p&gt;The most important part of the pipeline is labeling. Outputs are AI-generated from the two reference photos, and the product states that they are not photographs from a real engagement session. That distinction matters legally and practically: usage rights are plan-dependent. Personal use covers the trial, Basic, and standard packs; commercial-use rights come with Pro, per the published terms.&lt;/p&gt;

&lt;h2&gt;
  
  
  A working example
&lt;/h2&gt;

&lt;p&gt;If you want to see the two-reference workflow in production rather than in diagrams, the studio &lt;a href="https://engagement-photos.net" rel="noopener noreferrer"&gt;AI Engagement Photos&lt;/a&gt; is built on this exact pattern: two uploads, a style choice, a watermarked preview after email verification, and HD packs without expiry. The same honesty rules apply there, so it is a good reference implementation for the category.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>design</category>
      <category>showdev</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Xiaomi MiMo models: a community guide to getting started</title>
      <dc:creator>yao zhong</dc:creator>
      <pubDate>Fri, 07 Aug 2026 03:17:36 +0000</pubDate>
      <link>https://dev.to/yao_zhong_683c6b363c13b83/xiaomi-mimo-models-a-community-guide-to-getting-started-o0k</link>
      <guid>https://dev.to/yao_zhong_683c6b363c13b83/xiaomi-mimo-models-a-community-guide-to-getting-started-o0k</guid>
      <description>&lt;p&gt;Xiaomi MiMo is an open-source, reasoning-first family of large language models developed by Xiaomi, with weights published through the official XiaomiMiMo organization on Hugging Face and source code on GitHub. If you are evaluating MiMo for coding, agents, or long-context workloads, the official docs at mimo.mi.com are the primary reference for model names, licenses, benchmarks, and API pricing.&lt;/p&gt;

&lt;p&gt;One thing that takes time when starting out is finding the right resources: the Hugging Face organization hosts model cards and checkpoints, the GitHub organization hosts inference and tooling code, and the API documentation lives separately. A useful starting point is the &lt;a href="https://xiaomi-mimo-ai.com" rel="noopener noreferrer"&gt;Xiaomi MiMo AI community guide&lt;/a&gt;, an unofficial community site that collects tutorials, comparisons, and FAQ-style explanations, and links each claim back to official Xiaomi sources. The site is not affiliated with Xiaomi Inc., which makes it safe to read alongside the official documentation.&lt;/p&gt;

&lt;p&gt;A practical workflow: start with the official model cards to pick a checkpoint, skim the community guide for setup notes and common pitfalls, then verify pricing and context limits against mimo.mi.com before building anything on top of it. This article is an independent community summary, not an official Xiaomi publication.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>ai</category>
      <category>llm</category>
      <category>api</category>
    </item>
  </channel>
</rss>
