Skip to content

defund12/defund12-image-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

63323d3 · Jun 22, 2020

History

28 Commits
Jun 18, 2020
Jun 10, 2020
Jun 9, 2020
Jun 19, 2020
Jun 18, 2020
Jun 22, 2020
Jun 22, 2020
Jun 22, 2020
Jun 18, 2020
Jun 22, 2020
Jun 22, 2020
Jun 22, 2020
Jun 18, 2020

Repository files navigation

Defund12.org Image API

An api for generating images

Docs

/api/insta

Generate an instagram image

Options

Param Required Description
path yes Used for the website url path
city yes Used for the city
color no If not provided, it picks a random color. You can also specify a color from the below options
titleSize no Specify if youd like the city text to have a different size
urlSize no Specify if youd like the url to have a different size

Available colors

  • yellow
  • magenta
  • green
  • blue
  • turquoise
  • orange
  • purple
  • pink
  • red

/api/preview

Generate a meta preview image

Options

Param Required Description
state yes Used to fill in state in the image template
city yes Used to fill in city in the image template