alexgenovese / outpainting

Outpainting for Social Media Platforms: Facebook, Instagram, Pinterest, Tik Tok, Youtube, Linkedin and Adv Banners IAB

  • Public
  • 48 runs

Run alexgenovese/outpainting with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
image
string
upload the image to resize
aspect_ratio
string (enum)

Options:

custom, Instagram Portrait - 1080x1350, Instagram Square - 1080x1080, Instagram Landscape - 1080x608, Instagram Stories/Reels - 1080x1920, Facebook Landscape - 1080x1350, Facebook Marketplace - 1200x1200, Facebook Stories - 1080x1920, TikTok - 1080x1920, YouTube Banner - 2560×1440, LinkedIn Profile Banner - 1584x396, LinkedIn Page Cover - 1128x191, LinkedIn Post - 1200x627, Pinterest Pin Image - 1000x1500, Large Rectangle - 336x280, Medium Rectangle - 300x250, Small Rectangle - 180x150, Square - 250x250, Small Square - 200x200, Button - 125x125, Half Page - 300x600, Vertical Banner - 120x240, Wide Skyscraper - 160x600, Skyscraper - 120x600, Billboard - 970x250, Portrait - 300x1050, Banner - 468x60, Leaderboard - 728x90

Select a aspect ratio for adv resize
width
integer
Only when custom is selected
height
integer
Only when custom is selected

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "string",
  "title": "Output",
  "format": "uri"
}