genie

Genie Developer Hub

Welcome to the genie developer hub. You'll find comprehensive guides and documentation to help you start working with genie as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    API Reference

Styling - Pancakes

Shows object rotation, adding different fonts - both pre-available and custom.

{
  "duration": 1000,
  "objects": [
    {
      "type": "shape",
      "kind": "rectangle",
      "color": "{{canvas-color}}",
      "comment": "base canvas",
      "opacity": 1,
      "position": {
        "x": -2,
        "y": 0
      },
      "size": {
        "h": 800,
        "w": 800
      }
    },
    {
      "comment": "Food image",
      "opacity": 1,
      "url": "{{image-url}}",
      "position": {
        "x": 400,
        "y": 200
      },
      "type": "image",
      "size": {
        "h": 1000,
        "w": 600
      },
      "rotate": {
        "rotateBy": 27
      }
    },
    {
      "comment": "Main text",
      "opacity": 1,
      "color": "#2e4f9d",
      "text": "{{main-text}}",
      "fontFamily": {
        "name": "LibreBaskerville-Regular",
        "url": "https://assets.kubric.io/2fa28bee-e202-4113-a318-0e04c65776a1.ttf"
    },
      "fontSize": 50,
      "position": {
        "x": 200,
        "y": 300
      },
      "align": "center",
      "type": "text",
      "axis": 0
    },
    {
      "comment": "Label text",
      "opacity": 1,
      "color": "black",
      "text": "{{label-text}}",
      "fontFamily": "Montserrat-Bold",
      "fontSize": 20,
      "position": {
        "x": 200,
        "y": 250
      },
      "align": "center",
      "type": "text",
      "axis": 0
    }
  ],
  "size": {
    "h": 800,
    "w": 800
  }
}
{
  "canvas-color": {
    "default": "white",
    "type": "text",
    "title": "Canvas color"
  },
  "image-url": {
    "default": "https://lh3.googleusercontent.com/OrRwf1ur37OCi4fI5fg--hGH2HFnpk2bRw1I7rN-g5umQOvZqVZxBeoP-Lp5hsBppsz50APY9KZKMFm_4_euotg",
    "type": "text",
    "title": "image URL"
  },
  "main-text":{
      "default":"BREAKFAST\nAT THE\nFAIR",
      "type":"text",
      "title": "main text"
  },
    "label-text":{
      "default":"CREPES BY BAKERS",
      "type":"text",
      "title": "label text"
  }
}

👍

Make a new creative

Simply change the image URL to have a new poster!

pancakes

& eggs

Updated 11 months ago



Styling - Pancakes


Shows object rotation, adding different fonts - both pre-available and custom.

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.