curl --request POST \
--url https://api.eddy.engineer/v1/ideate.views \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"board_key": "<string>",
"created_at": "<string>",
"async": false,
"inline": false,
"variant": 1,
"views": []
}
'import requests
url = "https://api.eddy.engineer/v1/ideate.views"
payload = {
"board_key": "<string>",
"created_at": "<string>",
"async": False,
"inline": False,
"variant": 1,
"views": []
}
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>',
async: false,
inline: false,
variant: 1,
views: []
})
};
fetch('https://api.eddy.engineer/v1/ideate.views', 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.views",
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>',
'async' => false,
'inline' => false,
'variant' => 1,
'views' => [
]
]),
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.views"
payload := strings.NewReader("{\n \"board_key\": \"<string>\",\n \"created_at\": \"<string>\",\n \"async\": false,\n \"inline\": false,\n \"variant\": 1,\n \"views\": []\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.views")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"board_key\": \"<string>\",\n \"created_at\": \"<string>\",\n \"async\": false,\n \"inline\": false,\n \"variant\": 1,\n \"views\": []\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/ideate.views")
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 \"async\": false,\n \"inline\": false,\n \"variant\": 1,\n \"views\": []\n}"
response = http.request(request)
puts response.read_body{}{}{}Draw the picked direction from more angles before it is meshed
A NEW board derived from an old one: one direction (variant) drawn from more angles — by default front, back and top beside the three-quarter view (the side on request: on a slender part the image model drew it as the front again, which cost the mesh its fidelity) — every view conditioned on that direction’s three-quarter image, with the turn in words (a straight-on front; the back; a plan from above; the right-hand side, the camera turned 90 degrees) and the part alone on a plain background. All are drawn at once; every other image is copied. Views the direction already has are not drawn again, and when it has them all the source board is the answer. derived_from names the source board, the anchor (prompt_id), the views and the new positions (redrawn). Pass the direction’s positions together to ideate.mesh. IDEATE_IMAGE when the direction has no picture, IDEATE_VIEW for an unknown view; IDEATE_GENERATOR (502) when no view landed. async: true answers 202 with a job (job_id views-..., poll /v1/jobs/).
curl --request POST \
--url https://api.eddy.engineer/v1/ideate.views \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"board_key": "<string>",
"created_at": "<string>",
"async": false,
"inline": false,
"variant": 1,
"views": []
}
'import requests
url = "https://api.eddy.engineer/v1/ideate.views"
payload = {
"board_key": "<string>",
"created_at": "<string>",
"async": False,
"inline": False,
"variant": 1,
"views": []
}
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>',
async: false,
inline: false,
variant: 1,
views: []
})
};
fetch('https://api.eddy.engineer/v1/ideate.views', 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.views",
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>',
'async' => false,
'inline' => false,
'variant' => 1,
'views' => [
]
]),
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.views"
payload := strings.NewReader("{\n \"board_key\": \"<string>\",\n \"created_at\": \"<string>\",\n \"async\": false,\n \"inline\": false,\n \"variant\": 1,\n \"views\": []\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.views")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"board_key\": \"<string>\",\n \"created_at\": \"<string>\",\n \"async\": false,\n \"inline\": false,\n \"variant\": 1,\n \"views\": []\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/ideate.views")
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 \"async\": false,\n \"inline\": false,\n \"variant\": 1,\n \"views\": []\n}"
response = http.request(request)
puts response.read_body{}{}{}Body
Response
The derived board (or the source board when nothing was missing)
The response is of type object.