8 ms·
Show HN: Twogether AI – Multi-Person Photo Generation API
Hey everyone, at Magicflow (YC W23) we're helping our customers run AI image generation in production, enabling them to produce high-quality photos at scale.
We are launching a scalable API today that makes it possible to create multi-person portrait photos: which means the ability to create real-looking photos of any two persons interacting with each other in some way only by providing a prompt and the person's pose. Generating this kind of photo requires a deep understanding of the AI ecosystem, a knowledge gap many companies face. In order to make the photos look real with high consistency and for a low cost, chaining of many models is required, and an excellent understanding of how to tweak with the various params of each one.
We also handle the infrastructure required to generate the photos, which can be a challenge when dealt with alone, especially for companies with a small backend team (we can scale to thousands of requests per day and generate 100 photos in about 3 minutes). Our customers today use this technology for the following use cases: creating new photo albums from old-scanned albums, providing personalized content for user acquisition campaigns, enabling new kinds of experiences in physical venues, and creating humorous photos with celebrities.
There is a significant tradeoff between creating a robust abstraction layer on top of Stable Diffusion capabilities and providing customers with more control over various options. The API currently allows you to manipulate the following parameters: the pose of the couple (hugging, taking a selfie, etc.), their facial expressions, the style of the photo (realistic, cartoon, painting, etc.), as well as the location, theme, and outfits (e.g., ski vacation, on the beach)
We created a free demo app for you to view examples and try live: https://twogether.ai?source=hn https://twogether.ai?source=hn (no user or payment needed).
For full API access, contact me at yardenst@magicflow.ai. We can typically set you up within a day, but an onboarding session is required to ensure responsible API usage.
- deleted 3y ago[deleted]
- nittanymount 3y agowill you enhance this site to allow uploading 2 persons photos to make a picture together ? thanks
- deleted 3y ago[deleted]
- yardenst 3y agoIt is not something we allow now for various reasons in the demo website, but please contact me at yardenst@magicflow.ai and we will make what you need. Using the API it's possible to choose any 2 persons.
- mtlmtlmtlmtl 3y agoSounds like an ideal tool for misinformation and smear jobs. "Look, here's person X with Jeffrey Epstein", etc.
- yardenst 3y agoFor this reason we’re currently screening all new customers and monitoring the usage
- bigmattystyles 3y agoso I had this thought - we should flood the zone with fakes. All out. Systems like Clearview and pimeyes, and intelligence agencies would have a lot more noise to deal with as fake detection is expensive per photo and by definition, always lagging behind the cutting edge fake generator. I would also be surprised if governments aren't also sewing distrust with their enemies by generating fakes of government officials in past random photos of graduating classes of military academies of foreign governments, just to sew chaos. And why stop there - are you a middle-management cartel member with low prospects for advancement? Find a higher ranking cartel member you want to get rid of, start generating their face in older real photos of FBI graduating classes. Who knows, a position might open. It's a new world.
- JohnFen 3y ago> so I had this thought - we should flood the zone with fakes. This seems to me like the worst possible thing to do. We already have a serious problem being able to determine what's true and what's not. A response like this would make the problem so much worse that it could pose an actual societal threat.
- bigmattystyles 3y agoThat's my point, we might regain an ounce of privacy in public.
- JohnFen 3y ago
- comment_ran 3y agoDude, this is crazy.
- yardenst 3y agoStable Diffusion's eco system is pretty wild!
- seemaze 3y agoAny website that hijacks my browsers back button is a hard pass.
- xydac 3y agoSoon Samsung would be like able to show moon and Saturn twogether in their photos
- deleted 3y ago[deleted]
- swatcoder 3y agoAs a funded corporation pursuing sales and not just a casual hobbyist doing a tech demo, I have to ask: How did you get a license to use the image of these celebrities, let alone in commercialized deepfakes? Because that's kind of a hot topic right now and you're putting a giant target on your investors' assets if you didn't bother.
- yardenst 3y agoGreat point, when using the API the photos used to train and generate photos are provided by the customer, and they must have the correct permissions to use them
- Wistar 3y agoThat misses the point that was being asked which was about the celebrity photos and not the user photos.
- yardenst 3y agoBy customer I mean our own customer (a business) and not the end user
- Wistar 3y agoAh. I understand.
- leobg 3y agoThough it’s obvious that the customer does not have these permissions in probably 95% of cases, maybe 100%. Because if both people agree, then you might as well just take a photo of them together. No need for AI then. In Germany, a contract for such a service would be legally void. (An example of this is the sale of radar detectors. Here, too, the companies claim that it’s the user’s responsibility not to use them for illegal purposes, i.e. speeding. But the courts don’t buy it. They say the companies know exactly what they selling, and they declare such contracts void. The fact that a user could, theoretically, use that detector in a way that would not be unlawful is irrelevant, since it’s empirically evident that the vast majority does not, and the very appeal of the product is precisely the unlawful behavior.)
- wferrell 3y agoThis is so fun. I'd love to integrate this into a holiday card app :)
- cj 3y ago> Our customers today use this technology for the following use cases: creating new photo albums from old-scanned albums, providing personalized content for user acquisition campaigns, enabling new kinds of experiences in physical venues, and creating humorous photos with celebrities. I'm genuinely curious what you see the use case being 5-10 years from now. Or in the short term, which use case do you think is most compelling from a business perspective? Or is this just an entry point to much different uses of AI+Images in the future? Do you see this as a B2B play or a B2C play? Lots of AI startups doing various things with AI models, but I always have trouble seeing the business model vision. (Or maybe that doesn't matter, yet)
- yardenst 3y agoAs a young startup, this is something we are also trying to figure out. Currently, it's evident that this technology generates the most value in the B2C sector. However we also observe a robust B2B demand for other AI models (e-commerce)
- warthog 3y agowhy not make this a consumer app like can of soup? Bet it would blow up and make a mess out of BeReal feed
- yardenst 3y agoNow we are focusing on serving other businesses, if you have a good consumer app idea please let's talk over email we would love to collaborate.
- jasonpeacock 3y ago> and creating humorous photos with celebrities. how are you handling licensing (use of celebrity or any other person's image) and copyright (original image is not from user, so is likely copyrighted by someone else)?
- ugh123 3y agoIs this not a case of being allowed for personal use and/or satire vs publishing the rendered works and then stepping on copyright?
- yardenst 3y agoThis is something our customers need to deal with
- lancesells 3y agoThis is a strange answer when having celebrities on your home page and a demo of famous people.
- yardenst 3y agoWe demo with people without copyrights and have strict terms of use
- JohnFen 3y agoDepending on jurisdiction, you may find that this isn't exactly the case.
- JohnFen 3y agoSigh. This is just the sort of thing that people are afraid that AI will be used for. The fear is not entirely unjustified.
- ConnorMooneyhan 3y agoHere comes Rule 34...
- AdamH12113 3y agoIt's neat technology, but... I'm trying to think of uses for this that aren't creepy ("manipulate... the pose of the couple... their facial expressions..."), dishonest ("photos... with celebrities..."), or dystopian ("creating new photo albums from old scanned albums... providing personalized content for user acquisition campaigns") and failing. If someone comes along and makes a fake photo of themself with a celebrity, that's great, but it's also a one-off novelty. What kind of non-sleazy recurring use is going to prompt people to pay for this?
- taitems 3y agoThis is simply region prompting isn't it? Person A in left 50%, Person B in right 50%?
- yardenst 3y agoWe do use regional prompting but not only
- attqqq 3y agoReskin of gradio + controlnet and some prebaked Lora IDK what you’re planning on charging for this, but it’s nothing that can’t be done for free on any device in a notebook already