curl --request POST \
--url https://api.eddy.engineer/v1/ideate.vary \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"board_key": "<string>",
"created_at": "<string>",
"delta": "<string>",
"prompt_id": "<string>",
"async": false,
"inline": false
}
'import requests
url = "https://api.eddy.engineer/v1/ideate.vary"
payload = {
"board_key": "<string>",
"created_at": "<string>",
"delta": "<string>",
"prompt_id": "<string>",
"async": False,
"inline": False
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
board_key: '<string>',
created_at: '<string>',
delta: '<string>',
prompt_id: '<string>',
async: false,
inline: false
})
};
fetch('https://api.eddy.engineer/v1/ideate.vary', 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.eddy.engineer/v1/ideate.vary",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'board_key' => '<string>',
'created_at' => '<string>',
'delta' => '<string>',
'prompt_id' => '<string>',
'async' => false,
'inline' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/ideate.vary"
payload := strings.NewReader("{\n \"board_key\": \"<string>\",\n \"created_at\": \"<string>\",\n \"delta\": \"<string>\",\n \"prompt_id\": \"<string>\",\n \"async\": false,\n \"inline\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eddy.engineer/v1/ideate.vary")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"board_key\": \"<string>\",\n \"created_at\": \"<string>\",\n \"delta\": \"<string>\",\n \"prompt_id\": \"<string>\",\n \"async\": false,\n \"inline\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/ideate.vary")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"board_key\": \"<string>\",\n \"created_at\": \"<string>\",\n \"delta\": \"<string>\",\n \"prompt_id\": \"<string>\",\n \"async\": false,\n \"inline\": false\n}"
response = http.request(request)
puts response.read_body{}{}{}Vary one board position with one change, keeping the board consistent (V3)
A NEW board derived from an old one: the position at prompt_id is redrawn conditioned on its own current image with ONE change in words (delta), and — when that position anchors other views — its dependents are redrawn conditioned on the new image, so the board stays one product; every other image is copied as is. The derived board records derived_from (the source board, the position, the delta, the positions redrawn) and the varied prompt’s text as sent; it is its own content-addressed ideation_board artifact — the source board is untouched. IDEATE_IMAGE names the positions the board has; IDEATE_GRAMMAR an empty or over-long change; IDEATE_GENERATOR (502) when nothing landed.
curl --request POST \
--url https://api.eddy.engineer/v1/ideate.vary \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"board_key": "<string>",
"created_at": "<string>",
"delta": "<string>",
"prompt_id": "<string>",
"async": false,
"inline": false
}
'import requests
url = "https://api.eddy.engineer/v1/ideate.vary"
payload = {
"board_key": "<string>",
"created_at": "<string>",
"delta": "<string>",
"prompt_id": "<string>",
"async": False,
"inline": False
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
board_key: '<string>',
created_at: '<string>',
delta: '<string>',
prompt_id: '<string>',
async: false,
inline: false
})
};
fetch('https://api.eddy.engineer/v1/ideate.vary', 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.eddy.engineer/v1/ideate.vary",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'board_key' => '<string>',
'created_at' => '<string>',
'delta' => '<string>',
'prompt_id' => '<string>',
'async' => false,
'inline' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/ideate.vary"
payload := strings.NewReader("{\n \"board_key\": \"<string>\",\n \"created_at\": \"<string>\",\n \"delta\": \"<string>\",\n \"prompt_id\": \"<string>\",\n \"async\": false,\n \"inline\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eddy.engineer/v1/ideate.vary")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"board_key\": \"<string>\",\n \"created_at\": \"<string>\",\n \"delta\": \"<string>\",\n \"prompt_id\": \"<string>\",\n \"async\": false,\n \"inline\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/ideate.vary")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"board_key\": \"<string>\",\n \"created_at\": \"<string>\",\n \"delta\": \"<string>\",\n \"prompt_id\": \"<string>\",\n \"async\": false,\n \"inline\": false\n}"
response = http.request(request)
puts response.read_body{}{}{}Body
Answer 202 with a job (job_id vary-..., the content address of the request; poll /v1/jobs/{job_id}: phases drawing, done, error). The finished job's result is the synchronous answer. A live draw holds the provider for half a minute or more; a resubmit of the same request finds the same job.
Response
The derived board
The response is of type object.