| Status |
|---|
| |
|---|
| colour | Yellow |
|---|
| title | 릴리즈 2.18.0 이상 |
|---|
|
| Status |
|---|
| colour | Yellow |
|---|
| title | 릴리즈 3.0.0 이상 |
|---|
|
생성형 이미지 AI DALL-E를 연동해 자동으로 이미지를 생성하여 콘텐츠 생성을 지원합니다.
...
| Code Block |
|---|
| language | js |
|---|
| theme | Emacs |
|---|
| title | synapeditor.config.js |
|---|
|
//...
'editor.quickInsert': [
// AI 이미지 요청하기 버튼
'openImageAI',
// ...
],
// ... |
config 설정
...
설정
...
| Code Block |
|---|
| language | js |
|---|
| theme | Emacs |
|---|
| title | synapeditor.config.js |
|---|
|
// URL과 API Key를 설정하는 경우
'aiWriteSupporter.config': {
image: {
url: 'https://api.openai.com/v1/images/generations',
apiKey: 'sk-abc123...456xyz', // 브라우저에 노출되므로 안전하지 않음
//...
}
}
// URL만 설정하는 경우
'aiWriteSupporter.config': {
image: {
url: '/request',
//...
}
} |
...
| Code Block |
|---|
| language | js |
|---|
| theme | Emacs |
|---|
| title | synapeditor.config.js |
|---|
|
'aiWriteSupporter.config': {
image: {
url: '/request',
areaSize: { width: '550px', height: '220px' }
//...
}
} |
| areaSize 설정을 하지 않았을 때 | areaSize 설정을 했을 때 |
|---|
- 기본 값으로 ({ width: '300px', height: '340px' }) 크기가 설정되어 프롬프트와 미리보기 화면이 타납니다.
| - 설정한 값으로({ width: '550px', height: '220px' } ) 크기가 설정되어 프롬프트와 미리보기 화면이 나타납니다.
|
Image Modified
| Image Modified
|