curl --request GET \
--url https://api.parallellabs.app/api/v0/design-styles/{styleId}/guide \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.parallellabs.app/api/v0/design-styles/{styleId}/guide"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.parallellabs.app/api/v0/design-styles/{styleId}/guide', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.parallellabs.app/api/v0/design-styles/{styleId}/guide",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.parallellabs.app/api/v0/design-styles/{styleId}/guide"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.parallellabs.app/api/v0/design-styles/{styleId}/guide")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.parallellabs.app/api/v0/design-styles/{styleId}/guide")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"slug": "<string>",
"name": "<string>",
"category": "<string>",
"description": "<string>",
"medium": "<string>",
"width": 123,
"height": 123,
"imageUrl": "<string>",
"stylePrompt": "<string>",
"mediumPrompt": "<string>",
"exampleHtml": "<string>",
"guide": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Get a design style's guide for one format
Everything needed to design one asset in the style: the style prompt, the
prompt for designing this format (website, blog, social, story or email) in
it, and the style’s example design in that format with its preview image.
Follow guide when writing the asset’s HTML (for example before
canvas_createCanvas or writing video scenes).
curl --request GET \
--url https://api.parallellabs.app/api/v0/design-styles/{styleId}/guide \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.parallellabs.app/api/v0/design-styles/{styleId}/guide"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.parallellabs.app/api/v0/design-styles/{styleId}/guide', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.parallellabs.app/api/v0/design-styles/{styleId}/guide",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.parallellabs.app/api/v0/design-styles/{styleId}/guide"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.parallellabs.app/api/v0/design-styles/{styleId}/guide")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.parallellabs.app/api/v0/design-styles/{styleId}/guide")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"slug": "<string>",
"name": "<string>",
"category": "<string>",
"description": "<string>",
"medium": "<string>",
"width": 123,
"height": 123,
"imageUrl": "<string>",
"stylePrompt": "<string>",
"mediumPrompt": "<string>",
"exampleHtml": "<string>",
"guide": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Company API key - scoped to a specific company. Generate from the Integrations page in your dashboard.
Path Parameters
Query Parameters
The format being designed: website, blog, social, story or email. For another canvas size, use the closest shape (story for vertical, social for square, blog for wide).
Response
The style's guide for designing in one format
Size of the style's example in this format
Preview image of the example
The style: essence, typography, shapes, ornament, motion, avoid
How to carry the style into this format
The example design in this format, for a fictional brand
All of the above as one instruction text: follow it when designing

